Server.EnumServerPermissions Method
Enumerates a list of server permissions for the instance of Microsoft SQL Server.
Remarks
Updated 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.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Overload List
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.
|
See Also
Reference
Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
How to: Grant Server Permissions in Visual Basic .NET
Calling Methods
Managing Servers
Change History
Release |
History |
New content:
|