Sdílet prostřednictvím


ServerEvent.AlterRole Property

Gets a server event that can be included in the event set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property AlterRole As ServerEvent
    Get
'Usage
Dim value As ServerEvent

value = ServerEvent.AlterRole
public static ServerEvent AlterRole { get; }
public:
static property ServerEvent^ AlterRole {
    ServerEvent^ get ();
}
static member AlterRole : ServerEvent
static function get AlterRole () : ServerEvent

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that represents the AlterRole event that can be included in the server event set.