ServerRoleEvents.SubscribeToEvents Method (ObjectEventSet)
Specifies the ServerRole events to receive.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- events
-
Type:
Microsoft.SqlServer.Management.Smo.ObjectEventSet
A ObjectEventSet object that specifies the set of events to receive.
Events are sent to the event handlers that are registered with the ServerEvent event.
Show: