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