UnsubscribeFromEvents Método
Clears the specified event settings, and removes the specified event handlers.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Broker
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub UnsubscribeFromEvents ( _
events As ServiceQueueEventSet _
)
'Uso
Dim instance As ServiceQueueEvents
Dim events As ServiceQueueEventSet
instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
ServiceQueueEventSet events
)
public:
void UnsubscribeFromEvents(
ServiceQueueEventSet^ events
)
member UnsubscribeFromEvents :
events:ServiceQueueEventSet -> unit
public function UnsubscribeFromEvents(
events : ServiceQueueEventSet
)
Parámetros
- events
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object that specifies the set of events to stop receiving.
Vea también