CreateDatabaseStatement.AttachMode Property
Gets or sets the attach mode.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property AttachMode As AttachMode
Get
Set
'Usage
Dim instance As CreateDatabaseStatement
Dim value As AttachMode
value = instance.AttachMode
instance.AttachMode = value
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.SqlServer.TransactSql.ScriptDom.AttachMode
The attach mode.