Partager via


Propriété DatabaseOwnershipChaining

Indicates whether property ownership chaining is active.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")> _
<DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")> _
Property DatabaseOwnershipChaining As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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