IDTSComponentMetaData90.Version Property

Gets or sets the version of a component.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Declaration
<DispIdAttribute(131)> _
Property Version As Integer
[DispIdAttribute(131)] 
int Version { get; set; }
[DispIdAttribute(131)] 
property int Version {
    int get ();
    void set ([InAttribute] int plVersion);
}
/** @property */
/** @attribute DispIdAttribute(131) */ 
int get_Version ()

/** @property */
/** @attribute DispIdAttribute(131) */ 
void set_Version (/** @attribute InAttribute() */ int plVersion)
DispIdAttribute(131) 
function get Version () : int

DispIdAttribute(131) 
function set Version (plVersion : int)

Property Value

An Integer that contains the version number of the component.

Remarks

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.

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

IDTSComponentMetaData90 Interface
IDTSComponentMetaData90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace