Share via


IServerConfigurationFacet.ContainmentEnabled Property

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.

See Also

Reference

IServerConfigurationFacet Interface

Microsoft.SqlServer.Management.Smo Namespace