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