Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the value that indicates whether the containment is enabled.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Property ContainmentEnabled As Boolean
Get
Set
'Usage
Dim instance As IServerConfigurationFacet
Dim value As Boolean
value = instance.ContainmentEnabled
instance.ContainmentEnabled = value
bool ContainmentEnabled { get; set; }
property bool ContainmentEnabled {
bool get ();
void set (bool value);
}
abstract ContainmentEnabled : bool with get, set
function get ContainmentEnabled () : boolean
function set ContainmentEnabled (value : boolean)
Property Value
Type: System.Boolean
True if the containment is enabled; otherwise, false.