IDataConvert

IDataConvert provides methods for data conversion using the OLE DB Data Conversion Library (MSDADC.DLL). Consumers requiring data-conversion services from the OLE DB Data Conversion Library should include the MSDADC.H header file in their project. IDataConvert includes the following methods.

Method Description
CanConvert Returns information about whether the conversion from the specified source type to the specified destination type is supported.
DataConvert Converts the data from the source type to the destination type.
GetConversionSize Calculates the size of the buffer needed by the destination data type to support a conversion.