ApplicationRoleEvents.SubscribeToEvents Method (ObjectEventSet)
SQL Server 2012
Specifies the object events to receive.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- events
- Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that specifies the events to receive.
Events are sent to the event handlers that are registered with the ServerEvent event.