Partager via


Méthode GetObjectByID

Retrieves an object contained in a data flow task.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Public Overridable Function GetObjectByID ( _
    lID As Integer _
) As IDTSObject100
'Utilisation
Dim instance As MainPipeClass
Dim lID As Integer
Dim returnValue As IDTSObject100

returnValue = instance.GetObjectByID(lID)
public virtual IDTSObject100 GetObjectByID(
    int lID
)
public:
virtual IDTSObject100^ GetObjectByID(
    [InAttribute] int lID
)
abstract GetObjectByID : 
        lID:int -> IDTSObject100 
override GetObjectByID : 
        lID:int -> IDTSObject100 
public 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

IDTSPipeline100. . :: . .GetObjectByID(Int32)

Notes

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