ManagedComponentHost.HostSetOutputColumnDataTypeProperties 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Sets the output column data type property of the host.
命名空间: Microsoft.SqlServer.Dts.Pipeline
程序集: Microsoft.SqlServer.PipelineHost(在 Microsoft.SqlServer.PipelineHost.dll 中)
语法
声明
Public Sub HostSetOutputColumnDataTypeProperties ( _
wrapper As IDTSManagedComponentWrapper100, _
iOutputID As Integer, _
iOutputColumnID As Integer, _
eDataType As DataType, _
iLength As Integer, _
iPrecision As Integer, _
iScale As Integer, _
iCodePage As Integer _
)
用法
Dim instance As ManagedComponentHost
Dim wrapper As IDTSManagedComponentWrapper100
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.HostSetOutputColumnDataTypeProperties(wrapper, _
iOutputID, iOutputColumnID, eDataType, _
iLength, iPrecision, iScale, iCodePage)
public void HostSetOutputColumnDataTypeProperties(
IDTSManagedComponentWrapper100 wrapper,
int iOutputID,
int iOutputColumnID,
DataType eDataType,
int iLength,
int iPrecision,
int iScale,
int iCodePage
)
public:
virtual void HostSetOutputColumnDataTypeProperties(
IDTSManagedComponentWrapper100^ wrapper,
int iOutputID,
int iOutputColumnID,
DataType eDataType,
int iLength,
int iPrecision,
int iScale,
int iCodePage
) sealed
abstract HostSetOutputColumnDataTypeProperties :
wrapper:IDTSManagedComponentWrapper100 *
iOutputID:int *
iOutputColumnID:int *
eDataType:DataType *
iLength:int *
iPrecision:int *
iScale:int *
iCodePage:int -> unit
override HostSetOutputColumnDataTypeProperties :
wrapper:IDTSManagedComponentWrapper100 *
iOutputID:int *
iOutputColumnID:int *
eDataType:DataType *
iLength:int *
iPrecision:int *
iScale:int *
iCodePage:int -> unit
public final function HostSetOutputColumnDataTypeProperties(
wrapper : IDTSManagedComponentWrapper100,
iOutputID : int,
iOutputColumnID : int,
eDataType : DataType,
iLength : int,
iPrecision : int,
iScale : int,
iCodePage : int
)
参数
- wrapper
类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The component wrapper.
- iOutputID
类型:System.Int32
The output identifier.
- iOutputColumnID
类型:System.Int32
The output column identifier.
- eDataType
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType
The data type.
- iLength
类型:System.Int32
The length.
- iPrecision
类型:System.Int32
The precision.
- iScale
类型:System.Int32
The scale.
- iCodePage
类型:System.Int32
The code page.