RemoteServiceBindingEvents RemoteServiceBindingEvents RemoteServiceBindingEvents Class

Definition

The RemoteServiceBindingEvents object represents the settings required for Microsoft SQL Server remote service binding event notification.

public ref class RemoteServiceBindingEvents
public class RemoteServiceBindingEvents
Public Class RemoteServiceBindingEvents
Inheritance
RemoteServiceBindingEventsRemoteServiceBindingEventsRemoteServiceBindingEvents

Examples

Handling SMO Events

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Methods

GetEventSelection() GetEventSelection() GetEventSelection()

Returns the currently selected event notifications.

StartEvents() StartEvents() StartEvents()

Starts receiving events.

StopEvents() StopEvents() StopEvents()

Stops receiving events.

SubscribeToEvents(ObjectEventSet) SubscribeToEvents(ObjectEventSet) SubscribeToEvents(ObjectEventSet)

Specifies the remote service binding events to receive.

SubscribeToEvents(ObjectEventSet, ServerEventHandler) SubscribeToEvents(ObjectEventSet, ServerEventHandler) SubscribeToEvents(ObjectEventSet, ServerEventHandler)

Specifies the remote service binding events to receive and the event handler that handles the events.

UnsubscribeAllEvents() UnsubscribeAllEvents() UnsubscribeAllEvents()

Clears all event settings, and removes all event handlers.

UnsubscribeFromEvents(ObjectEventSet) UnsubscribeFromEvents(ObjectEventSet) UnsubscribeFromEvents(ObjectEventSet)

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

Events

ServerEvent ServerEvent ServerEvent

Specifies the server event handler for remote service binding events.

Applies to