共用方式為


DatabaseOwnershipChaining 屬性

命名空間:  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