ServerRole.Events Property
Gets the ServerRoleEvents object associated with this Server Role.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Property Events As ServerRoleEvents
Get
'Usage
Dim instance As ServerRole
Dim value As ServerRoleEvents
value = instance.Events
public ServerRoleEvents Events { get; }
public:
property ServerRoleEvents^ Events {
ServerRoleEvents^ get ();
}
member Events : ServerRoleEvents
function get Events () : ServerRoleEvents
Property Value
Type: Microsoft.SqlServer.Management.Smo.ServerRoleEvents
The ServerRoleEvents object associated with this Server Role.