StoredProcedureEvents.UnsubscribeFromEvents Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub UnsubscribeFromEvents ( _
    events As StoredProcedureEventSet _
)
'Usage
Dim instance As StoredProcedureEvents 
Dim events As StoredProcedureEventSet

instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
    StoredProcedureEventSet events
)
public:
void UnsubscribeFromEvents(
    StoredProcedureEventSet^ events
)
member UnsubscribeFromEvents : 
        events:StoredProcedureEventSet -> unit
public function UnsubscribeFromEvents(
    events : StoredProcedureEventSet
)

Parameters

Examples

Handling SMO Events

See Also

Reference

StoredProcedureEvents Class

Microsoft.SqlServer.Management.Smo Namespace