共用方式為


CManagedComponentWrapperClass.MapOutputColumn Method

Definition

Establishes a relationship between an IDTSOutputColumn100 column and a corresponding IDTSExternalMetadataColumn100 column.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSExternalMetadataColumn100 ^ MapOutputColumn(int lOutputID, int lOutputColumnID, int lExternalMetadataColumnID, bool bMatch) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSDesigntimeComponent100::MapOutputColumn;
[System.Runtime.InteropServices.DispId(34)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100 MapOutputColumn (int lOutputID, int lOutputColumnID, int lExternalMetadataColumnID, bool bMatch);
[<System.Runtime.InteropServices.DispId(34)>]
abstract member MapOutputColumn : int * int * int * bool -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
override this.MapOutputColumn : int * int * int * bool -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
Public Overridable Function MapOutputColumn (lOutputID As Integer, lOutputColumnID As Integer, lExternalMetadataColumnID As Integer, bMatch As Boolean) As IDTSExternalMetadataColumn100

Parameters

lOutputID
Int32

The ID of the IDTSOutput100 object.

lOutputColumnID
Int32

The ID of the IDTSOutputColumn100 object.

lExternalMetadataColumnID
Int32

The ID of the IDTSExternalMetadataColumn100 object.

bMatch
Boolean

Specifies whether the IDTSOutputColumn100 column should be set to match the IDTSExternalMetadataColumn100 column.

Returns

The IDTSExternalMetadataColumn100 that is mapped to the output column.

Implements

Attributes

Remarks

Call this method to map an IDTSOutputColumn100 column to a column in the ExternalMetadataColumnCollection of the output. If the bMatch parameter is true, and the data type properties of the two columns differ, the component will modify the data type properties of the output column to match the properties of the external metadata columns.

Applies to