Partager via


Propriété IServerSecurityFacet.CrossDBOwnershipChainingEnabled

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("CrossDBOwnershipChainingEnabledName")> _
<DisplayDescriptionKeyAttribute("CrossDBOwnershipChainingEnabledDesc")> _
Property CrossDBOwnershipChainingEnabled As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

IServerSecurityFacet Interface

Espace de noms Microsoft.SqlServer.Management.Smo