DatabaseOptions.DatabaseOwnershipChaining 属性

Gets or sets a Boolean property value that specifies whether the database ownership chaining is active.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DatabaseOwnershipChaining As Boolean 
    Get 
    Set
用法
Dim instance As DatabaseOptions 
Dim value As Boolean 

value = instance.DatabaseOwnershipChaining

instance.DatabaseOwnershipChaining = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool DatabaseOwnershipChaining { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool DatabaseOwnershipChaining {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member DatabaseOwnershipChaining : bool with get, set
function get DatabaseOwnershipChaining () : boolean 
function set DatabaseOwnershipChaining (value : boolean)

属性值

类型:System.Boolean
A Boolean value that specifies whether the database ownership chaining is active.If True, database ownership chaining is active. Otherwise, False (default).

示例

设置属性

请参阅

参考

DatabaseOptions 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

数据库选项