DatabaseOwnershipChaining-Eigenschaft

Indicates whether property ownership chaining is active.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")> _
<DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")> _
Property DatabaseOwnershipChaining As Boolean
    Get
    Set
'Usage
Dim instance As IDatabaseOptions
Dim value As Boolean

value = instance.DatabaseOwnershipChaining

instance.DatabaseOwnershipChaining = value
[DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")]
[DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")]
bool DatabaseOwnershipChaining { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_DatabaseOwnershipChainingDesc")]
[DisplayNameKeyAttribute(L"Database_DatabaseOwnershipChainingName")]
property bool DatabaseOwnershipChaining {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")>]
[<DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")>]
abstract DatabaseOwnershipChaining : bool with get, set
function get DatabaseOwnershipChaining () : boolean
function set DatabaseOwnershipChaining (value : boolean)

Eigenschaftswert

Typ: System. . :: . .Boolean
A Boolean value that specifies whether database ownership chaining is active.
If True, database ownership chaining is active.
If False (default), database ownership chaining is inactive.