IDTSOutputCollection100.GetObjectByID Método
Retrieves an IDTSOutput100 object that has the specified ID.
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado: Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintaxis
'Declaración
Function GetObjectByID ( _
lID As Integer _
) As IDTSOutput100
'Uso
Dim instance As IDTSOutputCollection100
Dim lID As Integer
Dim returnValue As IDTSOutput100
returnValue = instance.GetObjectByID(lID)
IDTSOutput100 GetObjectByID(
int lID
)
IDTSOutput100^ GetObjectByID(
[InAttribute] int lID
)
abstract GetObjectByID :
lID:int -> IDTSOutput100
function GetObjectByID(
lID : int
) : IDTSOutput100
Parámetros
- lID
Tipo: System.Int32
The ID of the output to retrieve from the collection.
Valor devuelto
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutput100
The IDTSInput100 object that has the specified ID.
Comentarios
If an output with the specified ID is not found in the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTNOTFOUND exception is thrown.