ObjectPermission.TakeOwnership Property

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

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

Syntax

'Declaration
Public Shared ReadOnly Property TakeOwnership As ObjectPermission 
    Get
'Usage
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

Property Value

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

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

ObjectPermission Class

Microsoft.SqlServer.Management.Smo Namespace