Condividi tramite


Delegato SmoApplication.AnyObjectEventHandler

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Delegate Sub AnyObjectEventHandler ( _
    sender As Object, _
    e As SmoEventArgs _
)
'Utilizzo
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 supporta l'utilizzo di delegati, ma non la dichiarazione di nuovi delegati.

Parametri