Compartir a través de


SmoApplication.AnyObjectEventHandler Delegado

The SmoApplication..::..AnyObjectEventHandler class represents the event handler that is used to handle events from any object.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Delegate Sub AnyObjectEventHandler ( _
    sender As Object, _
    e As SmoEventArgs _
)
'Uso
Dim instance As New AnyObjectEventHandler(AddressOf HandlerMethod)
public delegate void AnyObjectEventHandler(
    Object sender,
    SmoEventArgs e
)
public delegate void AnyObjectEventHandler(
    Object^ sender, 
    SmoEventArgs^ e
)
type AnyObjectEventHandler = 
    delegate of 
        sender:Object * 
        e:SmoEventArgs -> unit
JScript admite el uso de delegados, pero no la declaración de otros nuevos.

Parámetros