Метод IDTSExternalMetadataColumnCollection100.GetObjectByID
Gets an IDTSExternalMetadataColumn100 object that has the specified ID.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)
Синтаксис
'Декларация
Function GetObjectByID ( _
lID As Integer _
) As IDTSExternalMetadataColumn100
'Применение
Dim instance As IDTSExternalMetadataColumnCollection100
Dim lID As Integer
Dim returnValue As IDTSExternalMetadataColumn100
returnValue = instance.GetObjectByID(lID)
IDTSExternalMetadataColumn100 GetObjectByID(
int lID
)
IDTSExternalMetadataColumn100^ GetObjectByID(
[InAttribute] int lID
)
abstract GetObjectByID :
lID:int -> IDTSExternalMetadataColumn100
function GetObjectByID(
lID : int
) : IDTSExternalMetadataColumn100
Параметры
- lID
Тип: System.Int32
The ID of the column to retrieve.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 object having the specified value for its ID property.
Замечания
If the collection does not contain an IDTSExternalMetadataColumn100 object with the specified ID property value, a DTS_E_OBJECTIDNOTFOUND exception occurs.