This property indicates the data type of a custom logging field to which this property applies. The constants used to specify the data type are listed in the following table:
The following tables list additional information required only for code that uses the IIS Admin Base Object.
| Constant | Value | Description | 
| MD_LOGCUSTOM_DATATYPE_INT | 0x00000000 | Datatype is int. | 
| MD_LOGCUSTOM_DATATYPE_UINT | 0x00000001 | Datatype is unsigned int. | 
| MD_LOGCUSTOM_DATATYPE_LONG | 0X00000002 | Datatype is long. | 
| MD_LOGCUSTOM_DATATYPE_ULONG | 0X00000003 | Datatype is unsigned long. | 
| MD_LOGCUSTOM_DATATYPE_FLOAT | 0X00000004 | Datatype is float. | 
| MD_LOGCUSTOM_DATATYPE_DOUBLE | 0X00000005 | Datatype is double. | 
| MD_LOGCUSTOM_DATATYPE_LPSTR | 0X00000006 | Datatype is long pointer to string array. | 
| MD_LOGCUSTOM_DATATYPE_LPWSTR | 0X00000007 | Datatype is lpwstr. |