다음을 통해 공유


PipelineComponent.MapOutputColumn 메서드

Establishes a relationship between an output column and a corresponding external metadata column.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline
어셈블리:  Microsoft.SqlServer.PipelineHost(Microsoft.SqlServer.PipelineHost.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Public Overridable Function MapOutputColumn ( _
    iOutputID As Integer, _
    iOutputColumnID As Integer, _
    iExternalMetadataColumnID As Integer, _
    bMatch As Boolean _
) As IDTSExternalMetadataColumn100
‘사용 방법
Dim instance As PipelineComponent 
Dim iOutputID As Integer 
Dim iOutputColumnID As Integer 
Dim iExternalMetadataColumnID As Integer 
Dim bMatch As Boolean 
Dim returnValue As IDTSExternalMetadataColumn100 

returnValue = instance.MapOutputColumn(iOutputID, _
    iOutputColumnID, iExternalMetadataColumnID, _
    bMatch)
[CLSCompliantAttribute(false)]
public virtual IDTSExternalMetadataColumn100 MapOutputColumn(
    int iOutputID,
    int iOutputColumnID,
    int iExternalMetadataColumnID,
    bool bMatch
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSExternalMetadataColumn100^ MapOutputColumn(
    int iOutputID, 
    int iOutputColumnID, 
    int iExternalMetadataColumnID, 
    bool bMatch
)
[<CLSCompliantAttribute(false)>]
abstract MapOutputColumn : 
        iOutputID:int * 
        iOutputColumnID:int * 
        iExternalMetadataColumnID:int * 
        bMatch:bool -> IDTSExternalMetadataColumn100 
[<CLSCompliantAttribute(false)>]
override MapOutputColumn : 
        iOutputID:int * 
        iOutputColumnID:int * 
        iExternalMetadataColumnID:int * 
        bMatch:bool -> IDTSExternalMetadataColumn100
public function MapOutputColumn(
    iOutputID : int, 
    iOutputColumnID : int, 
    iExternalMetadataColumnID : int, 
    bMatch : boolean
) : IDTSExternalMetadataColumn100

매개 변수

반환 값

유형: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 that is mapped to the output column.

주의

This method is called to map an output column to a column in the ExternalMetadataColumnCollection of the output. When you are developing a custom data flow component, you override this method, to ensure that the external columns and the output column match, and that you want to allow the mapping to occur.

For more information about working with external metadata columns, see 외부 메타데이터 구현.

참고 항목

참조

PipelineComponent 클래스

Microsoft.SqlServer.Dts.Pipeline 네임스페이스