共用方式為


IServerSecurityFacet.CrossDBOwnershipChainingEnabled 屬性

Gets or sets a value that indicates whether the cross DB ownership chaining is enabled.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("CrossDBOwnershipChainingEnabledName")> _
<DisplayDescriptionKeyAttribute("CrossDBOwnershipChainingEnabledDesc")> _
Property CrossDBOwnershipChainingEnabled As Boolean 
    Get 
    Set
'用途
Dim instance As IServerSecurityFacet 
Dim value As Boolean 

value = instance.CrossDBOwnershipChainingEnabled

instance.CrossDBOwnershipChainingEnabled = value
[DisplayNameKeyAttribute("CrossDBOwnershipChainingEnabledName")]
[DisplayDescriptionKeyAttribute("CrossDBOwnershipChainingEnabledDesc")]
bool CrossDBOwnershipChainingEnabled { get; set; }
[DisplayNameKeyAttribute(L"CrossDBOwnershipChainingEnabledName")]
[DisplayDescriptionKeyAttribute(L"CrossDBOwnershipChainingEnabledDesc")]
property bool CrossDBOwnershipChainingEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("CrossDBOwnershipChainingEnabledName")>]
[<DisplayDescriptionKeyAttribute("CrossDBOwnershipChainingEnabledDesc")>]
abstract CrossDBOwnershipChainingEnabled : bool with get, set
function get CrossDBOwnershipChainingEnabled () : boolean 
function set CrossDBOwnershipChainingEnabled (value : boolean)

屬性值

型別:System.Boolean
true if the cross DB ownership chaining is enabled; otherwise, false.

請參閱

參考

IServerSecurityFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間