共用方式為


IDTSComponentMetaData90.Version Property

Gets or sets the version of a component.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<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)

屬性值

An Integer that contains the version number of the component.

備註

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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