ServerPermission Members
The ServerPermission object represents a Microsoft SQL Server server-level permission.
The following tables list the members exposed by the ServerPermission type.
Public Properties
Имя | Description | |
---|---|---|
AdministerBulkOperations | Gets a permission that can be included in the server permission set. | |
AlterAnyConnection | Gets a permission that can be included in the server permission set. | |
AlterAnyCredential | Gets a permission that can be included in the server permission set. | |
AlterAnyDatabase | Gets a permission that can be included in the server permission set. | |
AlterAnyEndpoint | Gets a permission that can be included in the server permission set. | |
AlterAnyEventNotification | Gets a permission that can be included in the server permission set. | |
AlterAnyLinkedServer | Gets a permission that can be included in the server permission set. | |
AlterAnyLogin | Gets a permission that can be included in the server permission set. | |
AlterResources | Gets a permission that can be included in the server permission set. | |
AlterServerState | Gets a permission that can be included in the server permission set. | |
AlterSettings | Gets a permission that can be included in the server permission set. | |
AlterTrace | Gets a permission that can be included in the server permission set. | |
AuthenticateServer | Gets a permission that can be included in the server permission set. | |
ConnectSql | Gets a permission that can be included in the server permission set. | |
ControlServer | Gets a permission that can be included in the server permission set. | |
CreateAnyDatabase | Gets a permission that can be included in the server permission set. | |
CreateDdlEventNotification | Gets a permission that can be included in the server permission set. | |
CreateEndpoint | Gets a permission that can be included in the server permission set. | |
CreateTraceEventNotification | Gets a permission that can be included in the server permission set. | |
ExternalAccessAssembly | Gets a permission that can be included in the server permission set. | |
Shutdown | Gets a permission that can be included in the server permission set. | |
UnsafeAssembly | Gets a permission that can be included in the server permission set. | |
ViewAnyDatabase | Gets a permission that can be included in the server permission set. | |
ViewAnyDefinition | Gets a permission that can be included in the server permission set. | |
ViewServerState | Gets a permission that can be included in the server permission set. |
В начало
Public Methods
(see also Protected Methods )
Имя | Description | |
---|---|---|
Add | Returns a set of server permissions after adding a new server permission to an existing set of server permissions. | |
BitwiseOr | ||
Equals | Overloaded. Overridden. | |
GetHashCode | Overridden. This method supports the Microsoft SQL Server 2005 infrastructure and is not intended to be used directly from your code. | |
GetType | (inherited from Object ) | |
op_Addition | Creates a server permission set by performing an addition operation on two ServerPermission objects. | |
op_BitwiseOr | Creates a server permission set by performing a bitwise OR operation on two ServerPermission objects. | |
op_Equality | Creates a server permission set by performing an equality operation on two ServerPermission objects. | |
op_Implicit | ||
op_Inequality | Creates a server permission set by performing an inequality operation on two ServerPermission objects. | |
ReferenceEquals | (inherited from Object ) | |
ToServerPermissionSet | Returns a set of server permissions based on a single server permission, by converting a ServerPermission object to a ServerPermissionSet object. | |
ToString | (inherited from Object ) |
В начало
Protected Methods
Имя | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
В начало
См. также
Справочник
ServerPermission Class
Microsoft.SqlServer.Management.Smo Namespace
Другие ресурсы
Granting, Revoking, and Denying Permissions
Разрешения
sys.server_permissions (Transact-SQL)