다음을 통해 공유


GetObjectIndexByID 메서드

Gets the index of an IDTSExternalMetadataColumn100 object that has the specified ID.

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

구문

‘선언
Function GetObjectIndexByID ( _
    lID As Integer _
) As Integer
‘사용 방법
Dim instance As IDTSExternalMetadataColumnCollection100
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 contains the location of the IDTSExternalMetadataColumn100 in the zero-based collection.

주의

If the external metadata column specified by the lID parameter is not found in the collection, a DTS_E_ELEMENTNOTFOUND exception occurs.