Partager via


GetObjectByID méthode (Int32)

Retrieves an object contained in the data flow task by using the ID of the object.

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 IDTSObject100
'Utilisation
Dim instance As IDTSPipeline100
Dim lID As Integer
Dim returnValue As IDTSObject100

returnValue = instance.GetObjectByID(lID)
IDTSObject100 GetObjectByID(
    int lID
)
IDTSObject100^ GetObjectByID(
    [InAttribute] int lID
)
abstract GetObjectByID : 
        lID:int -> IDTSObject100 
function GetObjectByID(
    lID : int
) : IDTSObject100

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSObject100
The IDTSObject100 interface of the object that is retrieved.

Implémente

IDTSObjectModel100. . :: . .GetObjectByID(Int32)

Notes

If an object with the specified ID is not found, an DTS_E_OBJECTIDNOTFOUND exception is thrown.