共用方式為


PipelineComponent.SetOutputColumnDataTypeProperties Method

Definition

Important

This API is not CLS-compliant.

Sets the data type properties of an IDTSOutputColumn100 object.

public:
 virtual void SetOutputColumnDataTypeProperties(int iOutputID, int iOutputColumnID, Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType eDataType, int iLength, int iPrecision, int iScale, int iCodePage);
[System.CLSCompliant(false)]
public virtual void SetOutputColumnDataTypeProperties (int iOutputID, int iOutputColumnID, Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType eDataType, int iLength, int iPrecision, int iScale, int iCodePage);
[<System.CLSCompliant(false)>]
abstract member SetOutputColumnDataTypeProperties : int * int * Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType * int * int * int * int -> unit
override this.SetOutputColumnDataTypeProperties : int * int * Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType * int * int * int * int -> unit
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)

Parameters

iOutputID
Int32

The ID of the IDTSOutput100 object.

iOutputColumnID
Int32

The ID of the IDTSOutputColumn100 object.

eDataType
DataType

The DataType of the column.

iLength
Int32

The length of the column.

iPrecision
Int32

The total number of digits in the column.

iScale
Int32

The number of digits of precision in the column.

iCodePage
Int32

The code page of the column.

Attributes

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.

Applies to