ServerAdapterBase.ContainmentEnabled 属性
Enables or disables contained databases and authentication using Facets across a server instance.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Property ContainmentEnabled As Boolean
Get
Set
用法
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)
属性值
类型:System.Boolean
Returns Boolean, true if enabled, false otherwise.