Partager via


DtsPipelineComponentAttribute.CurrentVersion Property

Gets or sets the version of the component.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntaxe

'Déclaration
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)

Valeur de propriété

An integer that contains the version of the component.

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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