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.