PipelineComponent.PerformDowngrade(Int32, DTSTargetServerVersion) 方法

定义

重要

此 API 不符合 CLS。

默认情况下,PerformDowngrade 不应引发 ComponentDowngradeFailedException,因为运行时只能确定是否通过 targetServerVersion 调用此方法;它无法检查组件版本,因为它不知道组件版本是否已在两个 SSIS 版本之间更改,而方法 PerformUpgrade 将在调用之前检查包 xml 中的组件版本是否小于当前组件版本。

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)

参数

pipelineVersion
Int32
targetServerVersion
DTSTargetServerVersion
属性

适用于