PipelineComponent.ConvertBufferDataTypeToFitManaged(DataType, Boolean) 方法

定义

重要

此 API 不符合 CLS。

从托管代码获取适当的 Integration Services  DataType

protected:
 static Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType ConvertBufferDataTypeToFitManaged(Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType dt, bool % IsLong);
[System.CLSCompliant(false)]
protected static Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType ConvertBufferDataTypeToFitManaged (Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType dt, ref bool IsLong);
[<System.CLSCompliant(false)>]
static member ConvertBufferDataTypeToFitManaged : Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType * bool -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType
Protected Shared Function ConvertBufferDataTypeToFitManaged (dt As DataType, ByRef IsLong As Boolean) As DataType

参数

dt
DataType

Integration ServicesDataType

IsLong
Boolean

指示数据类型是否为 long 类型。

返回

DataType

DataType与托管类型对应的 Integration Services。

属性

注解

此方法用于检索 Integration Services 适用于托管代码的数据类型。

有关详细信息,请参阅 在数据流中使用数据类型

注意

开发人员应小心地使用类的数据类型映射方法 PipelineComponent ,并可能需要对自己的数据类型映射方法进行编码,这些方法更适合于其自定义组件的独特需求。 现有方法不考虑数值精度或小数位数,或其他与数据类型本身紧密相关的属性。 在的未来版本中,Microsoft 可能会修改或删除这些方法,或修改这些方法执行的映射 Integration Services 。

适用于