LoginEvents.UnsubscribeFromEvents(ObjectEventSet) LoginEvents.UnsubscribeFromEvents(ObjectEventSet) LoginEvents.UnsubscribeFromEvents(ObjectEventSet) Method

Definition

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

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

An ObjectEventSet object that specifies the set of events to stop receiving.

Applies to