ターゲット データベースが更新された後で、DatabaseSchemaProvider にパラメーター値へのアクセスを提供するために UpdateTargetDatabase メソッドによって呼び出されます。
名前空間: Microsoft.Data.Schema.Tools.Compare.Schema
アセンブリ: Microsoft.Data.Schema.Tools (Microsoft.Data.Schema.Tools.dll 内)
構文
'宣言
Protected Overridable Sub OnAfterUpdateTargetDatabase ( _
comparisonResult As ModelComparisonResult, _
source As DataSchemaModel, _
target As DataSchemaModel, _
options As SchemaDeploymentOptions, _
plan As DeploymentPlan, _
executionFailed As Boolean, _
errorsAndWarnings As ErrorManager _
)
protected virtual void OnAfterUpdateTargetDatabase(
ModelComparisonResult comparisonResult,
DataSchemaModel source,
DataSchemaModel target,
SchemaDeploymentOptions options,
DeploymentPlan plan,
bool executionFailed,
ErrorManager errorsAndWarnings
)
protected:
virtual void OnAfterUpdateTargetDatabase(
ModelComparisonResult^ comparisonResult,
DataSchemaModel^ source,
DataSchemaModel^ target,
SchemaDeploymentOptions^ options,
DeploymentPlan^ plan,
bool executionFailed,
ErrorManager^ errorsAndWarnings
)
abstract OnAfterUpdateTargetDatabase :
comparisonResult:ModelComparisonResult *
source:DataSchemaModel *
target:DataSchemaModel *
options:SchemaDeploymentOptions *
plan:DeploymentPlan *
executionFailed:bool *
errorsAndWarnings:ErrorManager -> unit
override OnAfterUpdateTargetDatabase :
comparisonResult:ModelComparisonResult *
source:DataSchemaModel *
target:DataSchemaModel *
options:SchemaDeploymentOptions *
plan:DeploymentPlan *
executionFailed:bool *
errorsAndWarnings:ErrorManager -> unit
protected function OnAfterUpdateTargetDatabase(
comparisonResult : ModelComparisonResult,
source : DataSchemaModel,
target : DataSchemaModel,
options : SchemaDeploymentOptions,
plan : DeploymentPlan,
executionFailed : boolean,
errorsAndWarnings : ErrorManager
)
パラメーター
- comparisonResult
型: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
ModelComparisonResult オブジェクト。
- source
型: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
ソース DataSchemaModel オブジェクト。
- target
型: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
ターゲット DataSchemaModel オブジェクト。
- options
型: Microsoft.Data.Schema.Build.SchemaDeploymentOptions
ターゲット データベースの更新を構成するために使用される SchemaDeploymentOptions。
- plan
型: Microsoft.Data.Schema.Build.DeploymentPlan
生成された DeploymentPlan オブジェクト。
- executionFailed
型: System.Boolean
UpdateTargetDatabase メソッドが失敗した場合は true。それ以外の場合は false。
- errorsAndWarnings
型: Microsoft.Data.Schema.ErrorManager
実行中に発生したエラーが格納される ErrorManager。
解説
このメソッドは、スキーマ比較インフラストラクチャが SyncCompletedEvent を発生させる前に呼び出されます。 既定の実装は、何も実行しませんが、派生クラス対して使用できます。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
SchemaCompareScriptService クラス