Délégué SmoApplication.ObjectRenamedEventHandler
The SmoApplication.ObjectRenamedEventHandler class represents the event handler that handles events that occur when an object is renamed.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Delegate Sub ObjectRenamedEventHandler ( _
sender As Object, _
e As ObjectRenamedEventArgs _
)
'Utilisation
Dim instance As New ObjectRenamedEventHandler(AddressOf HandlerMethod)
public delegate void ObjectRenamedEventHandler(
Object sender,
ObjectRenamedEventArgs e
)
public delegate void ObjectRenamedEventHandler(
Object^ sender,
ObjectRenamedEventArgs^ e
)
type ObjectRenamedEventHandler =
delegate of
sender:Object *
e:ObjectRenamedEventArgs -> unit
JScript prend en charge l'utilisation de délégués, mais pas la déclaration de nouveaux délégués.
Paramètres
- sender
Type : System.Object
An Object value that specifies the source of the event.
- e
Type : Microsoft.SqlServer.Management.Smo.ObjectRenamedEventArgs
A SmoEventArgs object that contains the event data.