Partager via


ObjectRenamedEventArgs Constructor

Initializes a new instance of the ObjectRenamedEventArgs class with the specified Uniform Resource Name (URN) value, the specified inner object, and the new and old names.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    urn As Urn, _
    innerObject As Object, _
    oldName As String, _
    newName As String _
)
public ObjectRenamedEventArgs (
    Urn urn,
    Object innerObject,
    string oldName,
    string newName
)
public:
ObjectRenamedEventArgs (
    Urn^ urn, 
    Object^ innerObject, 
    String^ oldName, 
    String^ newName
)
public ObjectRenamedEventArgs (
    Urn urn, 
    Object innerObject, 
    String oldName, 
    String newName
)
public function ObjectRenamedEventArgs (
    urn : Urn, 
    innerObject : Object, 
    oldName : String, 
    newName : String
)

Paramètres

  • urn
    A Urn object value that specifies the URN value.
  • innerObject
    An Object system object value that specifies the inner object that caused the event.
  • oldName
    A String value that specifies name of the object.
  • newName
    A String value that specifies the new name of the object.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ObjectRenamedEventArgs Class
ObjectRenamedEventArgs Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Handling SMO Events