Propriété PermissionInfo.ObjectID
Gets the ID value that uniquely identifies the object to which the permission applies.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Property ObjectID As Integer
Get
'Utilisation
Dim instance As PermissionInfo
Dim value As Integer
value = instance.ObjectID
public int ObjectID { get; }
public:
property int ObjectID {
int get ();
}
member ObjectID : int
function get ObjectID () : int
Valeur de propriété
Type : System.Int32
An Int32 value that specifies the ID value that uniquely identifies the object.
Notes
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.
Exemples
Octroi, révocation et refus d'autorisations
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo