指定されたソース モデルとターゲット接続文字列を使用して、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 クラス