Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The DatabasePermission object represents a Microsoft SQL Server database permission. The database permission can be added to a database permission set, and then granted, revoked, or denied to a user.
The following tables list the members exposed by the DatabasePermission type.
Public Properties
| Name | Description | |
|---|---|---|
![]() ![]() |
Alter | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyApplicationRole | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyAssembly | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyAsymmetricKey | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyCertificate | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyContract | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyDatabaseDdlTrigger | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyDatabaseEventNotification | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyDataspace | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyFulltextCatalog | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyMessageType | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyRemoteServiceBinding | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyRole | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyRoute | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnySchema | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnyService | Gets a permission that can be included in the database permission set. |
![]() ![]() |
AlterAnySymmetricKey | |
![]() ![]() |
AlterAnyUser | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Authenticate | Gets a permission that can be included in the database permission set. |
![]() ![]() |
BackupDatabase | Gets a permission that can be included in the database permission set. |
![]() ![]() |
BackupLog | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Checkpoint | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Connect | Gets a permission that can be included in the database permission set. |
![]() ![]() |
ConnectReplication | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Control | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateAggregate | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateAssembly | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateAsymmetricKey | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateCertificate | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateContract | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateDatabase | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateDatabaseDdlEventNotification | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateDefault | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateFulltextCatalog | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateFunction | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateMessageType | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateProcedure | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateQueue | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateRemoteServiceBinding | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateRole | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateRoute | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateRule | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateSchema | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateService | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateSymmetricKey | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateSynonym | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateTable | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateType | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateView | Gets a permission that can be included in the database permission set. |
![]() ![]() |
CreateXmlSchemaCollection | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Delete | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Execute | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Insert | Gets a permission that can be included in the database permission set. |
![]() ![]() |
References | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Select | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Showplan | Gets a permission that can be included in the database permission set. |
![]() ![]() |
SubscribeQueryNotifications | Gets a permission that can be included in the database permission set. |
![]() ![]() |
TakeOwnership | Gets a permission that can be included in the database permission set. |
![]() ![]() |
Update | Gets a permission that can be included in the database permission set. |
![]() ![]() |
ViewDatabaseState | Gets a permission that can be included in the database permission set. |
![]() ![]() |
ViewDefinition | Gets a permission that can be included in the database permission set. |
Top
Public Methods
(see also Protected Methods )
| Name | Description | |
|---|---|---|
![]() ![]() |
Add | Returns a set of database permissions after adding a new database permission to an existing set of database permissions. |
![]() ![]() |
BitwiseOr | |
![]() |
Equals | Overloaded. Overridden. |
![]() |
GetHashCode | Overridden. This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code. |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
op_Addition | Creates a database permission set by performing an addition operation on two DatabasePermission objects. |
![]() ![]() |
op_BitwiseOr | Creates a database permission set by performing a bitwise OR operation on two DatabasePermission objects. |
![]() ![]() |
op_Equality | Compares two DatabasePermission objects in an equality operation. |
![]() ![]() |
op_Implicit | |
![]() ![]() |
op_Inequality | |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() ![]() |
ToDatabasePermissionSet | Returns a set of database permissions, based on a single database permission, by converting a DatabasePermission object to a DatabasePermissionSet object. |
![]() |
ToString | (inherited from Object ) |
Top
Protected Methods
| Name | Description | |
|---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
DatabasePermission Class
Microsoft.SqlServer.Management.Smo Namespace
.gif)
.gif)
.gif)
.gif)