PipelineComponent.SetOutputColumnDataTypeProperties 方法
Sets the data type properties of an IDTSOutputColumn100 object.
此 API 不符合 CLS 標準。
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)
語法
'宣告
<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 _
)
'用途
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
)
參數
- iOutputID
型別:System.Int32
The ID of the IDTSOutput100 object.
- iOutputColumnID
型別:System.Int32
The ID of the IDTSOutputColumn100 object.
- eDataType
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType
The DataType of the column.
- iLength
型別:System.Int32
The length of the column.
- iPrecision
型別:System.Int32
The total number of digits in the column.
- iScale
型別:System.Int32
The number of digits of precision in the column.
- iCodePage
型別:System.Int32
The code page of the column.
備註
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.