Condividi tramite


Proprietà DatabaseOwnershipChaining

Indicates whether property ownership chaining is active.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")> _
<DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")> _
Property DatabaseOwnershipChaining As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: 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.