ServerPermission.ControlServer Property

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

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

Syntax

'Declaration
Public Shared ReadOnly Property ControlServer As ServerPermission
    Get
'Usage
Dim value As ServerPermission

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerPermission
A ServerPermission object that represents the ControlServer permission that can be included in the server permission set.