SchemaCompareScriptService.OnAfterUpdateTargetDatabase Method
Called by the UpdateTargetDatabase method to provide the DatabaseSchemaProvider access to the parameter values after the target database has been updated.
Namespace: Microsoft.Data.Schema.Tools.Compare.Schema
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
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
)
Parameters
- comparisonResult
Type: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
The ModelComparisonResult object.
- source
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
The source DataSchemaModel object.
- target
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
The target DataSchemaModel object.
- options
Type: Microsoft.Data.Schema.Build.SchemaDeploymentOptions
The SchemaDeploymentOptions that is used to configure the target database update.
- plan
Type: Microsoft.Data.Schema.Build.DeploymentPlan
The generated DeploymentPlan object.
- executionFailed
Type: System.Boolean
true if the UpdateTargetDatabase method failed; otherwise, false.
- errorsAndWarnings
Type: Microsoft.Data.Schema.ErrorManager
An ErrorManager where any errors encountered during execution are to be stored.
Remarks
This method is called before the Schema Compare infrastructure raises the SyncCompletedEvent. The default implementation does nothing, but is available for derived classes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaCompareScriptService Class