UnsubscribeFromEvents-Methode
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
)
Parameter
- events
Typ: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the set of events to stop receiving.