共用方式為


Configuration.ContainmentEnabled 屬性

Gets the ConfigProperty object that is used to set the CONTAINMENT enabled configuration option.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property ContainmentEnabled As ConfigProperty 
    Get
'用途
Dim instance As Configuration 
Dim value As ConfigProperty 

value = instance.ContainmentEnabled
public ConfigProperty ContainmentEnabled { get; }
public:
property ConfigProperty^ ContainmentEnabled {
    ConfigProperty^ get ();
}
member ContainmentEnabled : ConfigProperty
function get ContainmentEnabled () : ConfigProperty

屬性值

型別:Microsoft.SqlServer.Management.Smo.ConfigProperty
A ConfigProperty object that specifies the settings for the CONTAINMENT enabled configuration option.

請參閱

參考

Configuration 類別

Microsoft.SqlServer.Management.Smo 命名空間