Partager via


Propriété ServerAdapterBase.ContainmentEnabled

Enables or disables contained databases and authentication using Facets across a server instance.

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

Syntaxe

'Déclaration
Public Property ContainmentEnabled As Boolean 
    Get 
    Set
'Utilisation
Dim instance As ServerAdapterBase 
Dim value As Boolean 

value = instance.ContainmentEnabled

instance.ContainmentEnabled = value
public bool ContainmentEnabled { get; set; }
public:
virtual property bool ContainmentEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract ContainmentEnabled : bool with get, set 
override ContainmentEnabled : bool with get, set
final function get ContainmentEnabled () : boolean 
final function set ContainmentEnabled (value : boolean)

Valeur de propriété

Type : System.Boolean
Returns Boolean, true if enabled, false otherwise.

Voir aussi

Référence

ServerAdapterBase Classe

Espace de noms Microsoft.SqlServer.Management.Smo