Dela via


TableEvents.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 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
)

Parameters