共用方式為


DtsPipelineComponentAttribute.CurrentVersion 屬性

Gets or sets the version of the component.

命名空間:  Microsoft.SqlServer.Dts.Pipeline
組件:  Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)

語法

'宣告
Public Property CurrentVersion As Integer 
    Get 
    Set
'用途
Dim instance As DtsPipelineComponentAttribute 
Dim value As Integer 

value = instance.CurrentVersion

instance.CurrentVersion = value
public int CurrentVersion { get; set; }
public:
property int CurrentVersion {
    int get ();
    void set (int value);
}
member CurrentVersion : int with get, set
function get CurrentVersion () : int 
function set CurrentVersion (value : int)

屬性值

型別:System.Int32
An integer that contains the version of the component.

備註

This property identifies the version of the component. Its primary use is to trigger an update of the component to a newer version. It is used in conjunction with the PerformUpgrade method.

請參閱

參考

DtsPipelineComponentAttribute 類別

Microsoft.SqlServer.Dts.Pipeline 命名空間