Método GetObjectByID
Gets an IDTSExternalMetadataColumn100 object that has the specified ID.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintaxe
'Declaração
Function GetObjectByID ( _
lID As Integer _
) As IDTSExternalMetadataColumn100
'Uso
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
Parâmetros
- lID
Tipo: System. . :: . .Int32
The ID of the column to retrieve.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 object having the specified value for its ID property.
Comentários
If the collection does not contain an IDTSExternalMetadataColumn100 object with the specified ID property value, a DTS_E_OBJECTIDNOTFOUND exception occurs.