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
'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);
}
public function get AttachMode () : AttachMode
public 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.