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
)
參數
- source
型別:Microsoft.Data.Schema.SchemaModel.DataSchemaModel
來源資料庫的 DataSchemaModel。
- targetConnectionString
型別:System.String
目標資料庫的連接字串。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
SchemaDeploymentConstructor 類別