SchemaCompareScriptService.OnBeforeUpdateTargetDatabase 메서드

대상 데이터베이스가 업데이트되기 전에 매개 변수 값에 대한 액세스 권한을 DatabaseSchemaProvider에 제공하기 위해 UpdateTargetDatabase 메서드에 의해 호출됩니다.

네임스페이스:  Microsoft.Data.Schema.Tools.Compare.Schema
어셈블리:  Microsoft.Data.Schema.Tools(Microsoft.Data.Schema.Tools.dll)

구문

‘선언
Protected Overridable Sub OnBeforeUpdateTargetDatabase ( _
    comparisonResult As ModelComparisonResult, _
    source As DataSchemaModel, _
    target As DataSchemaModel, _
    options As SchemaDeploymentOptions, _
    plan As DeploymentPlan _
)
protected virtual void OnBeforeUpdateTargetDatabase(
    ModelComparisonResult comparisonResult,
    DataSchemaModel source,
    DataSchemaModel target,
    SchemaDeploymentOptions options,
    DeploymentPlan plan
)
protected:
virtual void OnBeforeUpdateTargetDatabase(
    ModelComparisonResult^ comparisonResult, 
    DataSchemaModel^ source, 
    DataSchemaModel^ target, 
    SchemaDeploymentOptions^ options, 
    DeploymentPlan^ plan
)
abstract OnBeforeUpdateTargetDatabase : 
        comparisonResult:ModelComparisonResult * 
        source:DataSchemaModel * 
        target:DataSchemaModel * 
        options:SchemaDeploymentOptions * 
        plan:DeploymentPlan -> unit 
override OnBeforeUpdateTargetDatabase : 
        comparisonResult:ModelComparisonResult * 
        source:DataSchemaModel * 
        target:DataSchemaModel * 
        options:SchemaDeploymentOptions * 
        plan:DeploymentPlan -> unit 
protected function OnBeforeUpdateTargetDatabase(
    comparisonResult : ModelComparisonResult, 
    source : DataSchemaModel, 
    target : DataSchemaModel, 
    options : SchemaDeploymentOptions, 
    plan : DeploymentPlan
)

매개 변수

설명

기본 구현은 아무 작업도 하지 않지만 파생 클래스에 대해 사용할 수 있습니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

SchemaCompareScriptService 클래스

Microsoft.Data.Schema.Tools.Compare.Schema 네임스페이스

UpdateTargetDatabase

DatabaseSchemaProvider

ModelComparisonResult

DataSchemaModel

SchemaDeploymentOptions

DeploymentPlan