次の方法で共有


GetObjectIndexByID メソッド

指定した ID を持つ IDTSCustomProperty100 オブジェクトのインデックスを取得します。

名前空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap.dll)

構文

'宣言
Function GetObjectIndexByID ( _
    lID As Integer _
) As Integer
'使用
Dim instance As IDTSCustomPropertyCollection100
Dim lID As Integer
Dim returnValue As Integer

returnValue = instance.GetObjectIndexByID(lID)
int GetObjectIndexByID(
    int lID
)
int GetObjectIndexByID(
    [InAttribute] int lID
)
abstract GetObjectIndexByID : 
        lID:int -> int 
function GetObjectIndexByID(
    lID : int
) : int

パラメーター

  • lID
    型: System. . :: . .Int32
    インデックスを取得するカスタム プロパティの ID です。

戻り値

型: System. . :: . .Int32
0 から始まるコレクション内での、IDTSCustomProperty100 の場所を表す整数です。