Theobject represents the settings required for Microsoft SQL Server ServerRole event notification.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Returns the currently selected event notifications.
Starts receiving events.
Stops receiving events.
Specifies the ServerRole events to receive.
Specifies the ServerRole events to receive and the event handler that handles the events.
Clears all event settings, and removes all event handlers.
Clears the specified event settings, and removes all event handlers.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.