Freigeben über


EnumServerPermissions-Methode

Enumerates a list of server permissions for the instance of SQL Server.

Überladungsliste 

  Name Beschreibung
Öffentliche Methode EnumServerPermissions() () () () Enumerates a list of server permissions for the instance of SQL Server.
Öffentliche Methode EnumServerPermissions(String) Enumerates a list of server permissions for a specified grantee on the instance of SQL Server.
Öffentliche Methode EnumServerPermissions(ServerPermissionSet) Enumerates a list of server permissions for a specified permission on the instance of SQL Server.
Öffentliche Methode EnumServerPermissions(String, ServerPermissionSet) Enumerates a list of server permissions for a specified grantee and a specified permission on the instance of SQL Server.

Zum Anfang

Hinweise

Use this method to return an array of ServerPermissionInfo objects that contain information about the permissions currently set on the instance of SQL Server.