Compartilhar via


Método StoredProcedureEvents.UnsubscribeFromEvents

Clears the specified event settings, and removes all event handlers.

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

Sintaxe

'Declaração
Public Sub UnsubscribeFromEvents ( _
    events As StoredProcedureEventSet _
)
'Uso
Dim instance As StoredProcedureEvents 
Dim events As StoredProcedureEventSet

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

Parâmetros

Exemplos

Manipulando eventos SMO

Consulte também

Referência

StoredProcedureEvents Classe

Namespace Microsoft.SqlServer.Management.Smo