ServerAdapterBase.ContainmentEnabled Property
Enables or disables contained databases and authentication using Facets across a server instance.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Property ContainmentEnabled As Boolean
Get
Set
'Usage
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)
Property Value
Type: System.Boolean
Returns Boolean, true if enabled, false otherwise.