PermissionInfo.ObjectID Propiedad
Gets the ID value that uniquely identifies the object to which the permission applies.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Property ObjectID As Integer
Get
'Uso
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
Valor de la propiedad
Tipo: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the object.
Comentarios
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.
Ejemplos
Conceder, revocar y denegar permisos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo