Server.EnumServerPermissions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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