Freigeben über


IServerSecurityFacet.CrossDBOwnershipChainingEnabled-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("CrossDBOwnershipChainingEnabledName")> _
<DisplayDescriptionKeyAttribute("CrossDBOwnershipChainingEnabledDesc")> _
Property CrossDBOwnershipChainingEnabled As Boolean 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Siehe auch

Verweis

IServerSecurityFacet Schnittstelle

Microsoft.SqlServer.Management.Smo-Namespace