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
管理伺服器