Condividi tramite


Server.EnumServerPermissions Method

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

Osservazioni

Testo aggiornato:

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

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Elenco degli overload

Nome 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.

Vedere anche

Riferimento

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

Altre risorse

How to: Grant Server Permissions in Visual Basic .NET
Calling Methods
Gestione dei server