DatabaseEvents.SubscribeToEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- events
- DatabaseEventSet
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
- events
- DatabaseEventSet
- eventHandler
- ServerEventHandler