Server.EnumServerPermissions Method
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.
EnumServerPermissions() | |
EnumServerPermissions(ServerPermissionSet) | |
EnumServerPermissions(String) | |
EnumServerPermissions(String, ServerPermissionSet) |
C#
public Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[] EnumServerPermissions();
member this.EnumServerPermissions : unit -> Microsoft.SqlServer.Management.Smo.ServerPermissionInfo[]
Public Function EnumServerPermissions () As ServerPermissionInfo()
Returns
Applies to
Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 ja Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Toode | Versioonid |
---|---|
Microsoft.SqlServer.SqlManagementObjects | 150.18208.0, 160.2004021.0 |
C#
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
Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 ja Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Toode | Versioonid |
---|---|
Microsoft.SqlServer.SqlManagementObjects | 150.18208.0, 160.2004021.0 |
C#
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
Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 ja Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Toode | Versioonid |
---|---|
Microsoft.SqlServer.SqlManagementObjects | 150.18208.0, 160.2004021.0 |
C#
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
Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 ja Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Toode | Versioonid |
---|---|
Microsoft.SqlServer.SqlManagementObjects | 150.18208.0, 160.2004021.0 |