Gets or sets the containment database option.
命名空間: Microsoft.SqlServer.TransactSql.ScriptDom
組件: Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)
語法
'宣告
Public Property Containment As ContainmentDatabaseOption
Get
Set
'用途
Dim instance As CreateDatabaseStatement
Dim value As ContainmentDatabaseOption
value = instance.Containment
instance.Containment = value
public ContainmentDatabaseOption Containment { get; set; }
public:
property ContainmentDatabaseOption^ Containment {
ContainmentDatabaseOption^ get ();
void set (ContainmentDatabaseOption^ value);
}
member Containment : ContainmentDatabaseOption with get, set
function get Containment () : ContainmentDatabaseOption
function set Containment (value : ContainmentDatabaseOption)
屬性值
型別:Microsoft.SqlServer.TransactSql.ScriptDom.ContainmentDatabaseOption
The containment database option.