共用方式為


PipelineComponent.PerformDowngrade(Int32, DTSTargetServerVersion) Method

Definition

Important

This API is not CLS-compliant.

By default PerformDowngrade should not throw ComponentDowngradeFailedException because runtime can only determine whether to call this method by targetServerVersion; it cannot check component version because it doesn't know whether the component version has been changed between two SSIS versions, while the method PerformUpgrade will check if the component version in package xml is smaller than current component version before being called.

public:
 virtual void PerformDowngrade(int pipelineVersion, Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSTargetServerVersion targetServerVersion);
[System.CLSCompliant(false)]
public virtual void PerformDowngrade (int pipelineVersion, Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSTargetServerVersion targetServerVersion);
[<System.CLSCompliant(false)>]
abstract member PerformDowngrade : int * Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSTargetServerVersion -> unit
override this.PerformDowngrade : int * Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSTargetServerVersion -> unit
Public Overridable Sub PerformDowngrade (pipelineVersion As Integer, targetServerVersion As DTSTargetServerVersion)

Parameters

pipelineVersion
Int32
targetServerVersion
DTSTargetServerVersion
Attributes

Applies to