Partager via


Server.EnumServerPermissions Method

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

Notes

Texte mis à jour :

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

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Liste de surcharge

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

Voir aussi

Référence

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

How to: Grant Server Permissions in Visual Basic .NET
Calling Methods
Gestion des serveurs