Platform SDK: Exchange 2000 Server

Data Types

[This is preliminary documentation and subject to change.]

The following table lists the mappings between the data types used by various APIs and protocols. The table covers MAPI, OLE DB, XML-Data, and ADO data types.

Data Type Mappings

MAPI Type OLE DB Type XML-Data Type ADO Type Const
PT_BOOLEAN DBTYPE_BOOL boolean  
PT_I2

PT_MV_I2

DBTYPE_I2

DBTYPE_VECTOR | DBTYPE_I2

i2

mv.i2

PT_LONG

PT_MV_LONG

DBTYPE_I4

DBTYPE_VECTOR | DBTYPE_I4

int

mv.int

PT_I8

PT_MV_I8

DBTYPE_I8

DBTYPE_VECTOR | DBTYPE_I8

i8

mv.i8

PT_SYSTIME

PT_MV_SYSTIME

DBTYPE_FILETIME

DBTYPE_VECTOR | DBTYPE_FILETIME

dateTime.tz

mv.dateTime.tz

PT_APPTIME

PT_MV_APPTIME

DBTYPE_FILETIME

DBTYPE_VECTOR | DBTYPE_FILETIME

dateTime.tz

mv.dateTime.tz

PT_R4

PT_MV_R4

DBTYPE_R4

DBTYPE_VECTOR | DBTYPE_R4

r4

mv.r4

PT_CURRENCY

PT_MV_CURRENCY

DBTYPE_CY

DBTYPE_VECTOR | DBTYPE_CY

fixed.14.4

mv.fixed.14.4

PT_DOUBLE

PT_MV_DOUBLE

DBTYPE_DOUBLE

DBTYPE_VECTOR | DBTYPE_DOUBLE

float

mv.float

PT_CLSID

PT_MV_CLSID

DBTYPE_GUID

DBTYPE_VECTOR | DBTYPE_GUID

uuid

mv.uuid

PT_UNICODE

PT_MV_UNICODE

DBTYPE_WSTR

DBTYPE_VECTOR | DBTYPE_WSTR

string

mv.string

PT_STRING8

PT_MV_STRING8

DBTYPE_STR

DBTYPE_VECTOR | DBTYPE_STR

string*

mv.string*

PT_BINARY

PT_MV_BINARY

DBTYPE_BYTES

DBTYPE_VECTOR | DBTYPE_BYTES

bin.base64*

mv.bin.base64*

PT_ERROR DBTYPE_ERROR Not Supported
PT_NULL DBTYPE_NULL Not Supported
PT_OBJECT DBTYPE_IUNKNOWN Not Supported
PT_UNSPECIFIED   Not Supported