Método SqlAssemblyEvents.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 SqlAssemblyEventSet _
)
'Uso
Dim instance As SqlAssemblyEvents 
Dim events As SqlAssemblyEventSet

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

Parâmetros

Exemplos

Manipulando eventos SMO

Consulte também

Referência

SqlAssemblyEvents Classe

Namespace Microsoft.SqlServer.Management.Smo