Partilhar via


Propriedade do RDL ObjectPermission.TakeOwnership

Gets a permission that can be included in the object permission set.

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

Sintaxe

'Declaração
Public Shared ReadOnly Property TakeOwnership As ObjectPermission 
    Get
'Uso
Dim value As ObjectPermission 

value = ObjectPermission.TakeOwnership
public static ObjectPermission TakeOwnership { get; }
public:
static property ObjectPermission^ TakeOwnership {
    ObjectPermission^ get ();
}
static member TakeOwnership : ObjectPermission
static function get TakeOwnership () : ObjectPermission

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.ObjectPermission
An ObjectPermission object that represents the TakeOwnership permission that can be included in the object permission set.

Exemplos

Concedendo, revogando e negando permissões

Consulte também

Referência

ObjectPermission Classe

Namespace Microsoft.SqlServer.Management.Smo