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
Nome | 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. |
Torna all'inizio
Public Methods
(see also Protected Methods )
Nome | 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 ) |
Torna all'inizio
Protected Methods
Nome | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Torna all'inizio
Vedere anche
Riferimento
ServerPermission Class
Microsoft.SqlServer.Management.Smo Namespace
Altre risorse
Granting, Revoking, and Denying Permissions
Autorizzazioni
sys.server_permissions (Transact-SQL)