IDatabaseOptions.DatabaseOwnershipChaining 属性
Indicates whether property ownership chaining is active.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayNameKeyAttribute("Database_DatabaseOwnershipChainingName")> _
<DisplayDescriptionKeyAttribute("Database_DatabaseOwnershipChainingDesc")> _
Property DatabaseOwnershipChaining As Boolean
Get
Set
用法
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)
属性值
类型: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.