Compartilhar via


Método SchemaCompareScriptService.OnAfterUpdateTargetDatabase

Chamado pelo UpdateTargetDatabase método para fornecer a DatabaseSchemaProvider o acesso para os valores de parâmetro depois que o banco de dados de destino foi atualizado.

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (em Microsoft.Data.Schema.Tools.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Comentários

Este método é chamado antes que a infra-estrutura de esquema comparar eleva o SyncCompletedEvent. A implementação padrão não faz nada, mas está disponível para classes derivadas.

Segurança do .NET Framework

Consulte também

Referência

SchemaCompareScriptService Classe

Namespace Microsoft.Data.Schema.Tools.Compare.Schema

ModelComparisonResult

DataSchemaModel

SchemaDeploymentOptions

DeploymentPlan

UpdateTargetDatabase

ErrorManager

SyncCompletedEvent