다음을 통해 공유


GetObjectIndexByID 메서드

Retrieves the index of the IDTSInput100 object in a collection.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리:  Microsoft.SqlServer.DTSPipelineWrap(Microsoft.SqlServer.DTSPipelineWrap.dll)

구문

‘선언
Function GetObjectIndexByID ( _
    lID As Integer _
) As Integer
‘사용 방법
Dim instance As IDTSInputCollection100
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

매개 변수

반환 값

유형: System. . :: . .Int32
An Integer that indicates the location of the item in the index.

주의

The GetObjectIndexByID method retrieves the index in the input collection of the input having the ID specified by the lID parameter. If an input with the specified ID is not found in the collection, a Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE exception occurs.