Метод GetObjectByID
Retrieves an IDTSRuntimeConnection100 object from a collection.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)
Синтаксис
'Декларация
Function GetObjectByID ( _
lID As Integer _
) As IDTSRuntimeConnection100
'Применение
Dim instance As IDTSRuntimeConnectionCollection100
Dim lID As Integer
Dim returnValue As IDTSRuntimeConnection100
returnValue = instance.GetObjectByID(lID)
IDTSRuntimeConnection100 GetObjectByID(
int lID
)
IDTSRuntimeConnection100^ GetObjectByID(
[InAttribute] int lID
)
abstract GetObjectByID :
lID:int -> IDTSRuntimeConnection100
function GetObjectByID(
lID : int
) : IDTSRuntimeConnection100
Параметры
- lID
Тип: System. . :: . .Int32
The ID of the IDTSRuntimeConnection100 to retrieve from the collection.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSRuntimeConnection100
The IDTSRuntimeConnection100 object with the specified ID.
Замечания
The GetObjectByID method retrieves the run-time connection object with the ID matching the ID parameter. If an input does not exist with this ID, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTIDNOTFOUND exception occurs.