Aracılığıyla paylaş


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

'Bildirim
Public Sub UnsubscribeFromEvents ( _
    events As StoredProcedureEventSet _
)
'Kullanım
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