Compartir a través de


CurrentVersion Propiedad

Gets or sets the version of the component.

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline
Ensamblado:  Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)

Sintaxis

'Declaración
Public Property CurrentVersion As Integer
    Get
    Set
'Uso
Dim instance As DtsPipelineComponentAttribute
Dim value As Integer

value = instance.CurrentVersion

instance.CurrentVersion = value
public int CurrentVersion { get; set; }
public:
property int CurrentVersion {
    int get ();
    void set (int value);
}
member CurrentVersion : int with get, set
function get CurrentVersion () : int
function set CurrentVersion (value : int)

Valor de la propiedad

Tipo: System. . :: . .Int32
An integer that contains the version of the component.

Comentarios

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.