共用方式為


CreateDatabaseStatement.AttachMode 屬性

Gets or sets the attach mode.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property AttachMode As AttachMode 
    Get 
    Set
'用途
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)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.AttachMode
The attach mode.

請參閱

參考

CreateDatabaseStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間