PermissionInfo.ObjectID PermissionInfo.ObjectID PermissionInfo.ObjectID Property

Definition

Gets the ID value that uniquely identifies the object to which the permission applies.

public:
 property int ObjectID { int get(); };
public int ObjectID { get; }
Public ReadOnly Property ObjectID As Integer
Property Value

An Int32 value that specifies the ID value that uniquely identifies the object.

Examples

Granting, Revoking, and Denying Permissions

Remarks

The ObjectID property is 0 for a Server object or a Database object. Otherwise, it specifies the ID of the object within the class specified by the ObjectClass property.

Applies to