Share via


IDataConvert

IDataConvert provides methods for data conversion using the OLE DB Data Conversion Library (oledb32.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 methods described in the following table.

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.