共用方式為


ObjectPermissionSet 成員

The ObjectPermissionSet object represents a set of object permissions in Microsoft SQL Server.

ObjectPermissionSet 型別公開下列成員。

建構函式

  名稱 描述
公用方法 ObjectPermissionSet() () () () Initializes a new instance of the ObjectPermissionSet class.
公用方法 ObjectPermissionSet(ObjectPermission) Initializes a new instance of the ObjectPermissionSet class based on the specified object permission.
公用方法 ObjectPermissionSet(array<ObjectPermission> [] () [] []) Initializes a new instance of the ObjectPermissionSet class based on the specified set of object permissions.
公用方法 ObjectPermissionSet(ObjectPermissionSet) Initializes a new instance of the ObjectPermissionSet class based on the specified set of object permissions.

頂端

方法

  名稱 描述
公用方法 Add(ObjectPermission) Returns an object permission set after adding a new object permission to the referenced permission set.
公用方法靜態成員 Add(ObjectPermissionSet, ObjectPermission) Returns an object permission set after adding a new object permission to the referenced permission set.
公用方法 Equals Determines whether the referenced object permission object is equal to a specified object. (覆寫 PermissionSetBase. . :: . .Equals(Object)。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (覆寫 PermissionSetBase. . :: . .GetHashCode() () () ()。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Remove Removes a permission from the permission set.
公用方法靜態成員 Subtract Creates an object permission set by performing a subtraction operation on an IObjectPermission object and an ObjectPermissionSet object.
公用方法 ToString Returns the string value that represents the specified PermissionSetBase object. (繼承自 PermissionSetBase。)

頂端

運算子

  名稱 描述
公用運算子靜態成員 Addition Creates an object permission set by performing an addition operation on an ObjectPermission object and an ObjectPermissionSet object.
公用運算子靜態成員 Equality Determines whether two objects are equal by performing an equality operation on two ObjectPermissionSet objects.
公用運算子靜態成員 Inequality Determines whether two objects are unequal by performing an inequality operation on two ObjectPermissionSet objects.
公用運算子靜態成員 Subtraction Creates an object permission set by performing a subtraction operation on an IObjectPermission object and an ObjectPermissionSet object.

頂端

屬性

  名稱 描述
公用屬性 Alter Gets or sets the Boolean property value that specifies whether to include the ALTER permission in the permission set. The permission lets the grantee change properties, except ownership, of the object.
公用屬性 Connect Gets or sets the Boolean property value that specifies whether to include the CONNECT permission in the permission set. The permission lets the grantee create a connection between the object and an instance of SQL Server.
公用屬性 Control Gets or sets the Boolean property value that specifies whether to include the CONTROL permission in the permission set. The permission gives the grantee full control over the object, including all defined permissions for the object, the ability to create permissions on the object, and full control over child objects.
公用屬性 Delete Gets or sets the Boolean property value that specifies whether to include the DELETE permission in the permission set. The permission lets the grantee delete the object.
公用屬性 Execute Gets or sets the Boolean property value that specifies whether to include the EXECUTE permission in the permission set. The permission lets the grantee execute the object.
公用屬性 Impersonate Gets or sets the Boolean property value that specifies whether to include the IMPERSONATE permission in the permission set. The permission lets the grantee impersonate the user or the login.
公用屬性 Insert Gets or sets the Boolean property value that specifies whether to include the INSERT permission in the permission set. The permission lets the grantee insert data into the object.
公用屬性 Receive Gets or sets the Boolean property value that specifies whether to include the RECEIVE permission in the permission set. The permission lets the grantee receive messages from a Service Broker queue.
公用屬性 References Gets or sets the Boolean property value that specifies whether to include the REFERENCES permission in the permission set. This permission lets the grantee reference data in the object.
公用屬性 Select Gets or sets the Boolean property value that specifies whether to include the SELECT permission in the permission set. This permission lets the grantee retrieve data from the object.
公用屬性 Send Gets or sets the Boolean property value that specifies whether to include the SEND permission in the permission set. This permission lets the grantee send messages to a Service Broker service.
公用屬性 TakeOwnership Gets or sets the Boolean property value that specifies whether to include the TAKE OWNERSHIP permission in the permission set. This permission lets the grantee take ownership of the object.
公用屬性 Update Gets or sets the Boolean property value that specifies whether to include the UPDATE permission in the permission set. This permission lets the grantee modify data in the object.
公用屬性 ViewChangeTracking Gets or sets the Boolean property value that specifies whether to include the VIEW CHANGE TRACKING permission in the permission set. This permission lets the grantee view the tracking information for a database object.
公用屬性 ViewDefinition Gets or sets the Boolean property value that specifies whether to include the VIEW DEFINITION permission in the permission set. This permission lets the grantee view the metadata that defines the object.

頂端