Partilhar via


BrokerServiceEvents.SubscribeToEvents Method

Definition

Overloads

SubscribeToEvents(ObjectEventSet)
SubscribeToEvents(ObjectEventSet, ServerEventHandler)

SubscribeToEvents(ObjectEventSet)

public void SubscribeToEvents (Microsoft.SqlServer.Management.Smo.ObjectEventSet events);
member this.SubscribeToEvents : Microsoft.SqlServer.Management.Smo.ObjectEventSet -> unit
Public Sub SubscribeToEvents (events As ObjectEventSet)

Parameters

Applies to

SubscribeToEvents(ObjectEventSet, ServerEventHandler)

public void SubscribeToEvents (Microsoft.SqlServer.Management.Smo.ObjectEventSet events, Microsoft.SqlServer.Management.Smo.ServerEventHandler eventHandler);
member this.SubscribeToEvents : Microsoft.SqlServer.Management.Smo.ObjectEventSet * Microsoft.SqlServer.Management.Smo.ServerEventHandler -> unit
Public Sub SubscribeToEvents (events As ObjectEventSet, eventHandler As ServerEventHandler)

Parameters

eventHandler
ServerEventHandler

Applies to