This topic has not yet been rated - Rate this topic

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: System.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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.