共用方式為


IDTSComponentMetaData100.Version Property

Definition

Gets or sets the version of the component.

public:
 property int Version { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(131)]
public int Version { [System.Runtime.InteropServices.DispId(131)] get; [System.Runtime.InteropServices.DispId(131)] set; }
[<System.Runtime.InteropServices.DispId(131)>]
[<get: System.Runtime.InteropServices.DispId(131)>]
[<set: System.Runtime.InteropServices.DispId(131)>]
member this.Version : int with get, set
Public Property Version As Integer

Property Value

The version number of the component.

Attributes

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.

Applies to