Delen via


CreateDatabaseStatement.Containment Property

Gets or sets the containment database option.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property Containment As ContainmentDatabaseOption 
    Get 
    Set
'Usage
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)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.ContainmentDatabaseOption
The containment database option.

See Also

Reference

CreateDatabaseStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace