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
參數
- iOutputID
型別:System.Int32
The ID of the IDTSOutput100 object.
- iOutputColumnID
型別:System.Int32
The ID of the IDTSOutputColumn100 object.
- iExternalMetadataColumnID
型別:System.Int32
The ID of the IDTSExternalMetadataColumn100 object.
- bMatch
型別:System.Boolean
Indicates whether the columns match.
傳回值
型別: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 實作外部中繼資料.