GetObjectByID Method

IDTSInputCollection100.GetObjectByID Method (Int32)

 

Retrieves an IDTSInput100 object from a IDTSInputCollection100 collection.

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

[DispIdAttribute(20)]
IDTSInput100 GetObjectByID(
	int lID
)

Parameters

lID
Type: System.Int32

The ID of the IDTSInput100 to retrieve from the IDTSInputCollection100 collection.

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100

The IDTSInput100 object that has the ID specified by the InputID parameter.

The GetObjectByID method retrieves the input object with the ID matching the InputID parameter. If an input does not exist with this ID, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTIDNOTFOUND exception occurs.

Return to top
Show:
© 2016 Microsoft