Platform SDK: Exchange Server

Class

The Class data member returns the type of the property.

Applies To

All Property and Table objects

Data Type

Long

Access

Read-only

Remarks

The Class data member returns the type of the property, whether or not the property exists. It also returns the type of a multivalued property. Most properties have simple types, such as Long, String, Boolean, and Date. Properties on table objects have one of the table types. In addition, simple property types can be combined in a multivalued property.

The property types are shown in the following sample code:

'Simple types
Const SPTY_NULL As Int = 0
Const SPTY_BOOLEAN As Int = 1
Const SPTY_ULONG As Int = 2
Const SPTY_LONG As Int = 3
Const SPTY_LONGLONG As Int = 4
Const SPTY_DATE As Int = 5
Const SPTY_TIME As Int = 6
Const SPTY_DATETIME As Int = 7
Const SPTY_STRING As Int = 8
Const SPTY_BINARYSTRING As int = 9
Const SPTY_ITEMID As Int = 10        'also a binary string
Const SPTY_SCHID As Int =11            'schedule id
Const SPTY_SCHGN As Int = 12            'change number

'Table types
Const SPTY_TABLE As Int = 256
Const SPTY_BUSYTABLE As Int =257
Const SPTY_BUSYRECURTABLE As Int =258
Const SPTY_BUSYMERGETABLE As Int = 259
Const SPTY_ALARMTABLE As Int = 260

'Error (for example, property not available)
Const SPTY_ERROR As Int =255

'Multivalued properties
Const SPTY_MVBOOLEAN As Int = 32769
Const SPTY_MVULONG As Int = 32770
Const SPTY_MVLONG As Int = 32771
Const SPTY_MVLONGLONG As Int = 32772
Const SPTY_MVDATE     As Int = 32773
Const SPTY_MVTIME As Int = 32774
Const SPTY_MVDATETIME As Int 32775
Const SPTY_MVSTRING As Int = 32776
const SPTY_MVBINARYSTRING As Int = 32777
Const SPTY_MVITEMID As Int = 32778
Const SPTY_MVSCHID As Int = 32779
Const SPTY_MVSCHGN As Int = 32780
 

See Also

Tables