GetObjectByID méthode
Gets an IDTSExternalMetadataColumn100 object that has the specified ID.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (dans Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntaxe
'Déclaration
Function GetObjectByID ( _
lID As Integer _
) As IDTSExternalMetadataColumn100
'Utilisation
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
Paramètres
- lID
Type : System. . :: . .Int32
The ID of the column to retrieve.
Valeur de retour
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 object having the specified value for its ID property.
Notes
If the collection does not contain an IDTSExternalMetadataColumn100 object with the specified ID property value, a DTS_E_OBJECTIDNOTFOUND exception occurs.