Freigeben über


CreateDatabaseStatement.Containment-Eigenschaft

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)

Eigenschaftswert

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

Siehe auch

Verweis

CreateDatabaseStatement Klasse

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace