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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.