ServiceContractEvents.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(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
- events
- ObjectEventSet
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
- events
- ObjectEventSet
- eventHandler
- ServerEventHandler