Condividi tramite


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

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.

Vedere anche

Riferimento

IDatabaseOptions Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Smo