Share via


IDatabaseOptions.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
<DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")> _
<DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")> _
Property DatabaseOwnershipChaining As Boolean 
    Get 
    Set
'Usage
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.DatabaseOwnershipChaining

instance.DatabaseOwnershipChaining = value
[DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")]
[DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")]
bool DatabaseOwnershipChaining { get; set; }
[DisplayNameKeyAttribute(L"Database_DatabaseOwnershipChainingName")]
[DisplayDescriptionKeyAttribute(L"Database_DatabaseOwnershipChainingDesc")]
property bool DatabaseOwnershipChaining {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")>]
[<DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")>]
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.

Siehe auch

Verweis

IDatabaseOptions Schnittstelle

Microsoft.SqlServer.Management.Smo-Namespace