Metodo UnsubscribeFromEvents
Clears the specified event settings, and removes all event handlers.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub UnsubscribeFromEvents ( _
events As ObjectEventSet _
)
'Utilizzo
Dim instance As MessageTypeEvents
Dim events As ObjectEventSet
instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
ObjectEventSet events
)
public:
void UnsubscribeFromEvents(
ObjectEventSet^ events
)
member UnsubscribeFromEvents :
events:ObjectEventSet -> unit
public function UnsubscribeFromEvents(
events : ObjectEventSet
)
Parametri
- events
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
A ObjectEventSet object that specifies the set of events to stop receiving.
Vedere anche