Метод IDTSOutputCollection100.GetObjectByID
Retrieves an IDTSOutput100 object that has the specified ID.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)
Синтаксис
'Декларация
Function GetObjectByID ( _
lID As Integer _
) As IDTSOutput100
'Применение
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
Параметры
- lID
Тип: System.Int32
The ID of the output to retrieve from the collection.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutput100
The IDTSInput100 object that has the specified ID.
Замечания
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.