Platform SDK: Exchange 2000 Server

Data Conversions

[This is preliminary documentation and subject to change.]

The Exchange OLE DB provider supports data types based on OLE DB DBTYPEs. However, since the Microsoft Exchange 2000 Information store does not support unsigned integers, ExOLEDB converts the unsigned values to signed values. For example, properties of type VT_UI4 (unsigned long) are stored as the MAPI type PT_I4 (signed long). When the property is queried or enumerated, it is listed in its converted form as a signed long.

Similarly, ExOLEDB does not support conversions between vector types (for example, converting from DBVECTOR_I4 to DBVECTOR_I8, DB_UI8 to DB_I8, DBTIME or DBTIMESTAMP to DBFILETIME). Attempting to convert between vector types will return the HRESULT value E_CANTCONVERTVALUE.