ObjectPermission Class

 

The ObjectPermission object represents a SQL Server object permission.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

System.Object
  Microsoft.SqlServer.Management.Smo.ObjectPermission

public sealed class ObjectPermission

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAlter

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticConnect

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticControl

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticCreateSequence

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticDelete

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticExecute

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticImpersonate

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticInsert

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticReceive

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticReferences

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticSelect

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticSend

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticTakeOwnership

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticUpdate

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticViewChangeTracking

Gets a permission that can be included in the object permission set.

System_CAPS_pubpropertySystem_CAPS_staticViewDefinition

Gets a permission that can be included in the object permission set.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(ObjectPermission, ObjectPermission)

Returns a set of object permissions after adding two object permissions.

System_CAPS_pubmethodSystem_CAPS_staticBitwiseOr(ObjectPermission, ObjectPermission)

Returns an object permission set by performing a bitwise OR operation on two ObjectPermission objects.

System_CAPS_pubmethodEquals(Object)

Determines if a ObjectPermission object is the same as the current ObjectPermission object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

This method supports the SMO infrastructure and is not intended to be used directly from your code.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToObjectPermissionSet(ObjectPermission)

Converts an object permission into an object permission set.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(ObjectPermission, ObjectPermission)

Creates an object permission set by performing an addition operation on two ObjectPermission objects.

System_CAPS_puboperatorSystem_CAPS_staticBitwiseOr(ObjectPermission, ObjectPermission)

Creates an object permission set by performing a bitwise OR operation on two ObjectPermission objects.

System_CAPS_puboperatorSystem_CAPS_staticEquality(ObjectPermission, ObjectPermission)

Creates an object permission set by performing an equality operation on two ObjectPermission objects.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(ObjectPermission to ObjectPermissionSet)

Converts a single ObjectPermission to a ObjectPermissionSet.

System_CAPS_puboperatorSystem_CAPS_staticInequality(ObjectPermission, ObjectPermission)

Creates an object permission set by performing an inequality operation on two ObjectPermission objects.

Object permissions are required when running granting, denying, or revoking permissions on an object. The ObjectPermission object is used to specify the set of permissions that apply to the Grant, Deny, and Revoke methods of the object. Also, object permissions can be added to the ObjectPermissionSet object, which can also be used with the Deny, Revoke, and Grant methods.

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: