Partilhar via


DtsPipelineComponentAttribute.CurrentVersion Property

Gets or sets the version of the component.

Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntax

'Declaration
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)

Property Value

An integer that contains the version of the component.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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