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 TableEventSet _
)
'Usage
Dim instance As TableEvents
Dim events As TableEventSet
instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
TableEventSet events
)
public:
void UnsubscribeFromEvents(
TableEventSet^ events
)
member UnsubscribeFromEvents :
events:TableEventSet -> unit
public function UnsubscribeFromEvents(
events : TableEventSet
)
Parameter
- events
Typ: Microsoft.SqlServer.Management.Smo. . :: . .TableEventSet
A TableEventSet object that specifies the set of events to stop receiving.