Server.EnumServerPermissions Method

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

Hinweise

Aktualisierter Text:

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

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Überladungsliste

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

Siehe auch

Verweis

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

Andere Ressourcen

How to: Grant Server Permissions in Visual Basic .NET
Calling Methods
Verwalten von Servern