Condividi tramite


Metodo SubscribeToEvents (StoredProcedureEventSet)

Specifies the stored procedure events to receive.

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

Sintassi

'Dichiarazione
Public Sub SubscribeToEvents ( _
    events As StoredProcedureEventSet _
)
'Utilizzo
Dim instance As StoredProcedureEvents
Dim events As StoredProcedureEventSet

instance.SubscribeToEvents(events)
public void SubscribeToEvents(
    StoredProcedureEventSet events
)
public:
void SubscribeToEvents(
    StoredProcedureEventSet^ events
)
member SubscribeToEvents : 
        events:StoredProcedureEventSet -> unit 
public function SubscribeToEvents(
    events : StoredProcedureEventSet
)

Parametri

Osservazioni

Events are sent to the event handlers that are registered with the ServerEvent event.