CreateDatabaseStatement.AttachMode 属性

获取或设置附加模式。

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
Public Property AttachMode As AttachMode
    Get
    Set
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.Data.Schema.ScriptDom.Sql.AttachMode
返回一个 AttachMode 枚举值。

.NET Framework 安全性

请参见

参考

CreateDatabaseStatement 类

Microsoft.Data.Schema.ScriptDom.Sql 命名空间