Export (0) Print
Expand All

PermissionInfo.ObjectID Property

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

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

public int ObjectID { get; }

Property Value

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

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft