StoredProcedureEvents.UnsubscribeFromEvents(StoredProcedureEventSet) StoredProcedureEvents.UnsubscribeFromEvents(StoredProcedureEventSet) StoredProcedureEvents.UnsubscribeFromEvents(StoredProcedureEventSet) Method

Definition

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

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

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

Examples

Handling SMO Events

Applies to