Compartilhar via


Propriedade do RDL IDTSComponentMetaData100.Version

Gets or sets the version of the component.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxe

'Declaração
Property Version As Integer 
    Get 
    Set
'Uso
Dim instance As IDTSComponentMetaData100 
Dim value As Integer 

value = instance.Version

instance.Version = value
int Version { get; set; }
property int Version {
    int get ();
    void set (int value);
}
abstract Version : int with get, set
function get Version () : int 
function set Version (value : int)

Valor da propriedade

Tipo: System.Int32
The version number of the component.

Comentários

When a component is loaded, the version stored in the package XML is checked against the version specified by the component on the computer. If the version on the local computer is later, the PerformUpgrade method is called on the component.

Consulte também

Referência

IDTSComponentMetaData100 Interface

Namespace Microsoft.SqlServer.Dts.Pipeline.Wrapper