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

  Name Description
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Alter Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Connect Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Control Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Delete Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Execute Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Impersonate Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Insert Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Receive Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif References Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Select Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Send Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif TakeOwnership Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Update Gets a permission that can be included in the object permission set.
ms219877.pubproperty(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif ViewDefinition Gets a permission that can be included in the object permission set.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif Add Returns a set of object permissions after adding two object permissions.
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif BitwiseOr Returns an object permission set by performing a bitwise OR operation on two ObjectPermission objects.
ms219877.pubmethod(en-US,SQL.90).gif Equals Overloaded. Overridden.  
ms219877.pubmethod(en-US,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(en-US,SQL.90).gif GetType  (inherited from Object )
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif op_Addition Creates an object permission set by performing an addition operation on two ObjectPermission objects.
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif op_BitwiseOr Creates an object permission set by performing a bitwise OR operation on two ObjectPermission objects.
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif op_Equality Creates an object permission set by performing an equality operation on two ObjectPermission objects.
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif op_Implicit  
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif op_Inequality Creates an object permission set by performing an inequality operation on two ObjectPermission objects.
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219877.pubmethod(en-US,SQL.90).gifms219877.static(en-US,SQL.90).gif ToObjectPermissionSet Converts an object permission into an object permission set.
ms219877.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms219877.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms219877.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

ObjectPermission Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Granting, Revoking, and Denying Permissions