Share via


CreateDatabaseStatement.AttachMode Property

Gets or sets the attach mode.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property AttachMode As AttachMode
public AttachMode AttachMode { get; set; }
public:
property AttachMode AttachMode {
    AttachMode get ();
    void set (AttachMode value);
}
member AttachMode : AttachMode with get, set
function get AttachMode () : AttachMode
function set AttachMode (value : AttachMode)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.AttachMode
Returns a AttachMode enumeration value.

.NET Framework Security

See Also

Reference

CreateDatabaseStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace