次の方法で共有


DtsPipelineComponentAttribute.CurrentVersion プロパティ

コンポーネントのバージョンを取得します。値の設定も可能です。

名前空間:  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
コンポーネントのバージョンを含む整数です。

説明

このプロパティは、コンポーネントのバージョンを識別します。 コンポーネントの新しいバージョンへの更新をトリガーするのが主な用途です。 これは、PerformUpgrade メソッドと組み合わせて使用されます。

関連項目

参照

DtsPipelineComponentAttribute クラス

Microsoft.SqlServer.Dts.Pipeline 名前空間