Delen via


RemoteServiceBindingEvents.UnsubscribeFromEvents Method

Clears the specified event settings, and removes all event handlers.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub UnsubscribeFromEvents ( _
    events As ObjectEventSet _
)
'Usage
Dim instance As RemoteServiceBindingEvents 
Dim events As ObjectEventSet

instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
    ObjectEventSet events
)
public:
void UnsubscribeFromEvents(
    ObjectEventSet^ events
)
member UnsubscribeFromEvents : 
        events:ObjectEventSet -> unit
public function UnsubscribeFromEvents(
    events : ObjectEventSet
)

Parameters

Examples

Handling SMO Events

See Also

Reference

RemoteServiceBindingEvents Class

Microsoft.SqlServer.Management.Smo.Broker Namespace