MainPipeClass.GetObjectByID Método
Retrieves an object contained in a data flow task.
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado: Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintaxis
'Declaración
Public Overridable Function GetObjectByID ( _
lID As Integer _
) As IDTSObject100
'Uso
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
Parámetros
- lID
Tipo: System.Int32
The ID of the object to retrieve.
Valor devuelto
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
The IDTSObject100 interface of the object that is retrieved.
Implementa
IDTSPipeline100.GetObjectByID(Int32)
Comentarios
If an object with the specified ID is not found, an DTS_E_OBJECTIDNOTFOUND exception is thrown.