Share via


Server.EnumServerPermissions Method

Definition

Overloads

EnumServerPermissions()
EnumServerPermissions(ServerPermissionSet)
EnumServerPermissions(String)
EnumServerPermissions(String, ServerPermissionSet)

EnumServerPermissions()

public Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[] EnumServerPermissions ();
member this.EnumServerPermissions : unit -> Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[]
Public Function EnumServerPermissions () As ServerPermissionInfo()

Returns

Applies to

EnumServerPermissions(ServerPermissionSet)

public Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[] EnumServerPermissions (Microsoft.SqlServer.Management.Smo.ServerPermissionSet permissions);
member this.EnumServerPermissions : Microsoft.SqlServer.Management.Smo.ServerPermissionSet -> Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[]
Public Function EnumServerPermissions (permissions As ServerPermissionSet) As ServerPermissionInfo()

Parameters

permissions
ServerPermissionSet

Returns

Applies to

EnumServerPermissions(String)

public Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[] EnumServerPermissions (string granteeName);
member this.EnumServerPermissions : string -> Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[]
Public Function EnumServerPermissions (granteeName As String) As ServerPermissionInfo()

Parameters

granteeName
String

Returns

Applies to

EnumServerPermissions(String, ServerPermissionSet)

public Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[] EnumServerPermissions (string granteeName, Microsoft.SqlServer.Management.Smo.ServerPermissionSet permissions);
member this.EnumServerPermissions : string * Microsoft.SqlServer.Management.Smo.ServerPermissionSet -> Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[]
Public Function EnumServerPermissions (granteeName As String, permissions As ServerPermissionSet) As ServerPermissionInfo()

Parameters

granteeName
String
permissions
ServerPermissionSet

Returns

Applies to