Partilhar via


Delegação SmoApplication.ObjectRenamedEventHandler

The SmoApplication..::..ObjectRenamedEventHandler class represents the event handler that handles events that occur when an object is renamed.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Delegate Sub ObjectRenamedEventHandler ( _
    sender As Object, _
    e As ObjectRenamedEventArgs _
)
'Uso
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 dá suporte ao uso de representantes, mas não à declaração de representantes novos.

Parâmetros

Consulte também

Referência