PermissionInfo.ObjectID PermissionInfo.ObjectID PermissionInfo.ObjectID Property


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

 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.


Granting, Revoking, and Denying Permissions


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