ServiceQueueEvents.UnsubscribeFromEvents(ServiceQueueEventSet) ServiceQueueEvents.UnsubscribeFromEvents(ServiceQueueEventSet) ServiceQueueEvents.UnsubscribeFromEvents(ServiceQueueEventSet) Method

Definition

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

public:
 void UnsubscribeFromEvents(Microsoft::SqlServer::Management::Smo::ServiceQueueEventSet ^ events);
public void UnsubscribeFromEvents (Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet events);
Public Sub UnsubscribeFromEvents (events As ServiceQueueEventSet)
Parameters
events
ServiceQueueEventSet ServiceQueueEventSet ServiceQueueEventSet

A ServiceQueueEventSet object that specifies the set of events to stop receiving.

Examples

Handling SMO Events

Applies to