此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Sets the host external metadata column data type properties.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Sub HostSetExternalMetadataColumnDataTypeProperties ( _
pWrapper As IDTSManagedComponentWrapper100, _
lID As Integer, _
lExternalMetadataColumnID As Integer, _
eDataType As DataType, _
lLength As Integer, _
lPrecision As Integer, _
lScale As Integer, _
lCodePage As Integer _
)
'用途
Dim instance As IDTSManagedComponentHost100
Dim pWrapper As IDTSManagedComponentWrapper100
Dim lID As Integer
Dim lExternalMetadataColumnID As Integer
Dim eDataType As DataType
Dim lLength As Integer
Dim lPrecision As Integer
Dim lScale As Integer
Dim lCodePage As Integer
instance.HostSetExternalMetadataColumnDataTypeProperties(pWrapper, _
lID, lExternalMetadataColumnID, _
eDataType, lLength, lPrecision, lScale, _
lCodePage)
void HostSetExternalMetadataColumnDataTypeProperties(
IDTSManagedComponentWrapper100 pWrapper,
int lID,
int lExternalMetadataColumnID,
DataType eDataType,
int lLength,
int lPrecision,
int lScale,
int lCodePage
)
void HostSetExternalMetadataColumnDataTypeProperties(
[InAttribute] IDTSManagedComponentWrapper100^ pWrapper,
[InAttribute] int lID,
[InAttribute] int lExternalMetadataColumnID,
[InAttribute] DataType eDataType,
[InAttribute] int lLength,
[InAttribute] int lPrecision,
[InAttribute] int lScale,
[InAttribute] int lCodePage
)
abstract HostSetExternalMetadataColumnDataTypeProperties :
pWrapper:IDTSManagedComponentWrapper100 *
lID:int *
lExternalMetadataColumnID:int *
eDataType:DataType *
lLength:int *
lPrecision:int *
lScale:int *
lCodePage:int -> unit
function HostSetExternalMetadataColumnDataTypeProperties(
pWrapper : IDTSManagedComponentWrapper100,
lID : int,
lExternalMetadataColumnID : int,
eDataType : DataType,
lLength : int,
lPrecision : int,
lScale : int,
lCodePage : int
)
參數
- pWrapper
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The wrapper used.
- lID
型別:System.Int32
The identifier.
- lExternalMetadataColumnID
型別:System.Int32
The external metadata column identifier.
- eDataType
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType
The datatype.
- lLength
型別:System.Int32
The length.
- lPrecision
型別:System.Int32
The precision.
- lScale
型別:System.Int32
The scale.
- lCodePage
型別:System.Int32
The code page.