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.