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