GetObjectByID méthode
Retrieves an IDTSInput100 object from a IDTSInputCollection100 collection.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (dans Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntaxe
'Déclaration
Function GetObjectByID ( _
lID As Integer _
) As IDTSInput100
'Utilisation
Dim instance As IDTSInputCollection100
Dim lID As Integer
Dim returnValue As IDTSInput100
returnValue = instance.GetObjectByID(lID)
IDTSInput100 GetObjectByID(
int lID
)
IDTSInput100^ GetObjectByID(
[InAttribute] int lID
)
abstract GetObjectByID :
lID:int -> IDTSInput100
function GetObjectByID(
lID : int
) : IDTSInput100
Paramètres
- lID
Type : System. . :: . .Int32
The ID of the IDTSInput100 to retrieve from the IDTSInputCollection100 collection.
Valeur de retour
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSInput100
The IDTSInput100 object that has the ID specified by the InputID parameter.
Notes
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.