此 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.