共用方式為


SchemaDeploymentConstructor.Setup 方法 (DataSchemaModel, String)

使用提供的來源模型和目標連接字串,準備 SchemaDeployment 物件。

命名空間:  Microsoft.Data.Schema.Build
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Sub Setup ( _
    source As DataSchemaModel, _
    targetConnectionString As String _
)
public void Setup(
    DataSchemaModel source,
    string targetConnectionString
)
public:
void Setup(
    DataSchemaModel^ source, 
    String^ targetConnectionString
)
member Setup : 
        source:DataSchemaModel * 
        targetConnectionString:string -> unit 
public function Setup(
    source : DataSchemaModel, 
    targetConnectionString : String
)

參數

  • targetConnectionString
    型別:System.String
    目標資料庫的連接字串。

.NET Framework 安全性

請參閱

參考

SchemaDeploymentConstructor 類別

Setup 多載

Microsoft.Data.Schema.Build 命名空間

DataSchemaModel