共用方式為


PipelineComponent.SetExternalMetadataColumnDataTypeProperties 方法

Sets the data type properties of the specified external metadata column.

此 API 不符合 CLS 標準。 

命名空間:  Microsoft.SqlServer.Dts.Pipeline
組件:  Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
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 _
)
'用途
Dim instance As PipelineComponent 
Dim iID As Integer 
Dim iExternalMetadataColumnID As Integer 
Dim eDataType As DataType 
Dim iLength As Integer 
Dim iPrecision As Integer 
Dim iScale As Integer 
Dim iCodePage As Integer

instance.SetExternalMetadataColumnDataTypeProperties(iID, _
    iExternalMetadataColumnID, eDataType, _
    iLength, iPrecision, iScale, iCodePage)
[CLSCompliantAttribute(false)]
public virtual void SetExternalMetadataColumnDataTypeProperties(
    int iID,
    int iExternalMetadataColumnID,
    DataType eDataType,
    int iLength,
    int iPrecision,
    int iScale,
    int iCodePage
)
[CLSCompliantAttribute(false)]
public:
virtual void SetExternalMetadataColumnDataTypeProperties(
    int iID, 
    int iExternalMetadataColumnID, 
    DataType eDataType, 
    int iLength, 
    int iPrecision, 
    int iScale, 
    int iCodePage
)
[<CLSCompliantAttribute(false)>]
abstract SetExternalMetadataColumnDataTypeProperties : 
        iID:int * 
        iExternalMetadataColumnID:int * 
        eDataType:DataType * 
        iLength:int * 
        iPrecision:int * 
        iScale:int * 
        iCodePage:int -> unit 
[<CLSCompliantAttribute(false)>]
override SetExternalMetadataColumnDataTypeProperties : 
        iID:int * 
        iExternalMetadataColumnID:int * 
        eDataType:DataType * 
        iLength:int * 
        iPrecision:int * 
        iScale:int * 
        iCodePage:int -> unit
public function SetExternalMetadataColumnDataTypeProperties(
    iID : int, 
    iExternalMetadataColumnID : int, 
    eDataType : DataType, 
    iLength : int, 
    iPrecision : int, 
    iScale : int, 
    iCodePage : int
)

參數

  • iExternalMetadataColumnID
    型別:System.Int32
    The ID of the external metadata column.
  • iLength
    型別:System.Int32
    The length of the new external metadata column.
  • iPrecision
    型別:System.Int32
    The numeric precision of the new external metadata column.
  • iScale
    型別:System.Int32
    The numeric scale of the new external metadata column.
  • iCodePage
    型別:System.Int32
    The code page of the new external metadata column.

備註

For more information about working with external metadata columns, see 實作外部中繼資料.

請參閱

參考

PipelineComponent 類別

Microsoft.SqlServer.Dts.Pipeline 命名空間