Partager via


EnumServerPermissions méthode

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

Liste de surcharge

  Nom Description
Méthode publique EnumServerPermissions() () () () Enumerates a list of server permissions for the instance of SQL Server.
Méthode publique EnumServerPermissions(String) Enumerates a list of server permissions for a specified grantee on the instance of SQL Server.
Méthode publique EnumServerPermissions(ServerPermissionSet) Enumerates a list of server permissions for a specified permission on the instance of SQL Server.
Méthode publique EnumServerPermissions(String, ServerPermissionSet) Enumerates a list of server permissions for a specified grantee and a specified permission on the instance of SQL Server.

Haut de la page

Notes

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