다음을 통해 공유


Server.EnumServerPermissions Method

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

주의

업데이트된 텍스트:

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

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

오버로드 목록

이름 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.

참고 항목

참조

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

관련 자료

How to: Grant Server Permissions in Visual Basic .NET
Calling Methods
서버 관리