StoredProcedureEvents.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(StoredProcedureEventSet) | |
SubscribeToEvents(StoredProcedureEventSet, ServerEventHandler) |
SubscribeToEvents(StoredProcedureEventSet)
public void SubscribeToEvents (Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet events);
member this.SubscribeToEvents : Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet -> unit
Public Sub SubscribeToEvents (events As StoredProcedureEventSet)
Parameters
- events
- StoredProcedureEventSet
Applies to
SubscribeToEvents(StoredProcedureEventSet, ServerEventHandler)
public void SubscribeToEvents (Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet events, Microsoft.SqlServer.Management.Smo.ServerEventHandler eventHandler);
member this.SubscribeToEvents : Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet * Microsoft.SqlServer.Management.Smo.ServerEventHandler -> unit
Public Sub SubscribeToEvents (events As StoredProcedureEventSet, eventHandler As ServerEventHandler)
Parameters
- events
- StoredProcedureEventSet
- eventHandler
- ServerEventHandler