Partager via


IDTSComponentMetaData90.Version Property

Gets or sets the version of a component.

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

Syntaxe

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

Valeur de propriété

An Integer that contains the version number of the component.

Notes

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.

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

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