共用方式為


CrossDBOwnershipChainingEnabled 屬性

Gets or sets the CrossDBOwnershipChainingEnabled property value.

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