共用方式為


DtsPipelineComponentAttribute.CurrentVersion Property

Gets or sets the version of the component.

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
Public Property CurrentVersion As Integer
public int CurrentVersion { get; set; }
public:
property int CurrentVersion {
    int get ();
    void set (int value);
}
/** @property */
public int get_CurrentVersion ()

/** @property */
public void set_CurrentVersion (int value)
public function get CurrentVersion () : int

public function set CurrentVersion (value : int)

屬性值

An integer that contains the version of the component.

備註

This property identifies the version of the component. Its primary use is to trigger an update of the component to a newer version. It is used in conjunction with the PerformUpgrade method.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

DtsPipelineComponentAttribute Class
DtsPipelineComponentAttribute Members
Microsoft.SqlServer.Dts.Pipeline Namespace