Megosztás a következőn keresztül:


DatabasePermission.TakeOwnership Property

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

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

Syntax

'Declaration
Public Shared ReadOnly Property TakeOwnership As DatabasePermission
    Get
'Usage
Dim value As DatabasePermission

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that represents the TakeOwnership permission that can be included in the database permission set.