ObjectPermission Members
The ObjectPermission object represents a Microsoft SQL Server object permission.
The following tables list the members exposed by the ObjectPermission type.
Public Properties
名稱 | Description | |
---|---|---|
Alter | Gets a permission that can be included in the object permission set. | |
Connect | Gets a permission that can be included in the object permission set. | |
Control | Gets a permission that can be included in the object permission set. | |
Delete | Gets a permission that can be included in the object permission set. | |
Execute | Gets a permission that can be included in the object permission set. | |
Impersonate | Gets a permission that can be included in the object permission set. | |
Insert | Gets a permission that can be included in the object permission set. | |
Receive | Gets a permission that can be included in the object permission set. | |
References | Gets a permission that can be included in the object permission set. | |
Select | Gets a permission that can be included in the object permission set. | |
Send | Gets a permission that can be included in the object permission set. | |
TakeOwnership | Gets a permission that can be included in the object permission set. | |
Update | Gets a permission that can be included in the object permission set. | |
ViewDefinition | Gets a permission that can be included in the object permission set. |
頂端
Public Methods
(see also Protected Methods )
名稱 | Description | |
---|---|---|
Add | Returns a set of object permissions after adding two object permissions. | |
BitwiseOr | Returns an object permission set by performing a bitwise OR operation on two ObjectPermission objects. | |
Equals | Overloaded. Overridden. | |
GetHashCode | Overridden. This method supports the SQL Server Management Objects infrastructure and is not intended to be used directly from your code. | |
GetType | (inherited from Object ) | |
op_Addition | Creates an object permission set by performing an addition operation on two ObjectPermission objects. | |
op_BitwiseOr | Creates an object permission set by performing a bitwise OR operation on two ObjectPermission objects. | |
op_Equality | Creates an object permission set by performing an equality operation on two ObjectPermission objects. | |
op_Implicit | ||
op_Inequality | Creates an object permission set by performing an inequality operation on two ObjectPermission objects. | |
ReferenceEquals | (inherited from Object ) | |
ToObjectPermissionSet | Converts an object permission into an object permission set. | |
ToString | (inherited from Object ) |
頂端
Protected Methods
名稱 | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
頂端
請參閱
參考
ObjectPermission Class
Microsoft.SqlServer.Management.Smo Namespace