Version 属性

Gets or sets the version of a component.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Property Version As Integer
    Get
    Set
用法
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)

属性值

类型:System. . :: . .Int32
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.