共用方式為


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
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Alter Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Connect Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Control Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Delete Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Execute Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Impersonate Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Insert Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Receive Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif References Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Select Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Send Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif TakeOwnership Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Update Gets a permission that can be included in the object permission set.
ms219877.pubproperty(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif ViewDefinition Gets a permission that can be included in the object permission set.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif Add Returns a set of object permissions after adding two object permissions.
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif BitwiseOr Returns an object permission set by performing a bitwise OR operation on two ObjectPermission objects.
ms219877.pubmethod(zh-tw,SQL.90).gif Equals Overloaded. Overridden.  
ms219877.pubmethod(zh-tw,SQL.90).gif GetHashCode Overridden. This method supports the SQL Server Management Objects infrastructure and is not intended to be used directly from your code.
ms219877.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif op_Addition Creates an object permission set by performing an addition operation on two ObjectPermission objects.
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif op_BitwiseOr Creates an object permission set by performing a bitwise OR operation on two ObjectPermission objects.
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif op_Equality Creates an object permission set by performing an equality operation on two ObjectPermission objects.
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif op_Implicit  
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif op_Inequality Creates an object permission set by performing an inequality operation on two ObjectPermission objects.
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219877.pubmethod(zh-tw,SQL.90).gifms219877.static(zh-tw,SQL.90).gif ToObjectPermissionSet Converts an object permission into an object permission set.
ms219877.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms219877.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms219877.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

ObjectPermission Class
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Granting, Revoking, and Denying Permissions