語言

PipelineComponent.SetExternalMetadataColumnDataTypeProperties 方法

定義

重要

此 API 不符合 CLS 規範。

設定指定外部元資料欄位的資料型別屬性。

public:
 virtual void SetExternalMetadataColumnDataTypeProperties(int iID, int iExternalMetadataColumnID, Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType eDataType, int iLength, int iPrecision, int iScale, int iCodePage);
[System.CLSCompliant(false)]
public virtual void SetExternalMetadataColumnDataTypeProperties(int iID, int iExternalMetadataColumnID, Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType eDataType, int iLength, int iPrecision, int iScale, int iCodePage);
[<System.CLSCompliant(false)>]
abstract member SetExternalMetadataColumnDataTypeProperties : int * int * Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType * int * int * int * int -> unit
override this.SetExternalMetadataColumnDataTypeProperties : int * int * Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType * int * int * int * int -> unit
Public Overridable Sub SetExternalMetadataColumnDataTypeProperties (iID As Integer, iExternalMetadataColumnID As Integer, eDataType As DataType, iLength As Integer, iPrecision As Integer, iScale As Integer, iCodePage As Integer)

參數

iID
Int32

外部元資料欄位所關聯的 或 IDTSInput100 ID 也就是該欄位所關聯的 IDIDTSOutput100。

iExternalMetadataColumnID
Int32

外部元資料欄位的 ID。

eDataType
DataType

DataType A 包含新外部元資料欄位的資料型態。

iLength
Int32

新的外部元資料欄位長度。

iPrecision
Int32

新的外部元資料欄位的數值精度。

iScale
Int32

新外部元資料欄位的數值刻度。

iCodePage
Int32

新的外部元資料欄位的代碼頁。

屬性

備註

欲了解更多關於外部元資料欄位操作的資訊,請參閱 「實作外部元資料」。

適用於