Sdílet prostřednictvím


IDTSCustomPropertyCollection100.GetObjectIndexByID Method

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Function GetObjectIndexByID ( _
    lID As Integer _
) As Integer
'Usage
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

Parameters

  • lID
    Type: System.Int32
    The ID of the custom property whose index is retrieved.

Return Value

Type: System.Int32
An integer that contains the location of the IDTSCustomProperty100 in the zero-based collection.