Partager via


DatabaseEvents.SubscribeToEvents Method

Definition

Overloads

SubscribeToEvents(DatabaseEventSet)
SubscribeToEvents(DatabaseEventSet, ServerEventHandler)

SubscribeToEvents(DatabaseEventSet)

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

Parameters

Applies to

SubscribeToEvents(DatabaseEventSet, ServerEventHandler)

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

Parameters

eventHandler
ServerEventHandler

Applies to