Delen via


PipelineComponent.SetOutputColumnDataTypeProperties Method

Sets the data type properties of an IDTSOutputColumn100 object.

This API is not CLS-compliant. 

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Overridable Sub SetOutputColumnDataTypeProperties ( _
    iOutputID As Integer, _
    iOutputColumnID As Integer, _
    eDataType As DataType, _
    iLength As Integer, _
    iPrecision As Integer, _
    iScale As Integer, _
    iCodePage As Integer _
)
'Usage
Dim instance As PipelineComponent
Dim iOutputID As Integer
Dim iOutputColumnID As Integer
Dim eDataType As DataType
Dim iLength As Integer
Dim iPrecision As Integer
Dim iScale As Integer
Dim iCodePage As Integer

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

Parameters

  • iPrecision
    Type: System.Int32
    The total number of digits in the column.
  • iScale
    Type: System.Int32
    The number of digits of precision in the column.

Remarks

This method is used to set the data type properties of an output column all at the same time. It exists because the properties depend on the values of the other properties in the method.