共用方式為


IDTSExternalMetadataColumnCollection100.GetObjectByID(Int32) Method

Definition

Gets an IDTSExternalMetadataColumn100 object that has the specified ID.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSExternalMetadataColumn100 ^ GetObjectByID(int lID);
[System.Runtime.InteropServices.DispId(20)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100 GetObjectByID (int lID);
[<System.Runtime.InteropServices.DispId(20)>]
abstract member GetObjectByID : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
Public Function GetObjectByID (lID As Integer) As IDTSExternalMetadataColumn100

Parameters

lID
Int32

The ID of the column to retrieve.

Returns

The IDTSExternalMetadataColumn100 object having the specified value for its ID property.

Attributes

Remarks

If the collection does not contain an IDTSExternalMetadataColumn100 object with the specified ID property value, a DTS_E_OBJECTIDNOTFOUND exception occurs.

Applies to