Поделиться через


Свойство DatabaseOwnershipChaining

Indicates whether property ownership chaining is active.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")> _
<DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")> _
Property DatabaseOwnershipChaining As Boolean
    Get
    Set
'Применение
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)

Значение свойства

Тип: 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.