مشاركة عبر


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

Examples

Handling SMO Events

See Also

Reference

SqlAssemblyEvents Class

Microsoft.SqlServer.Management.Smo Namespace