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

Return to top
Show:
© 2016 Microsoft