LogCustomPropertyDataType
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:
Data Type |
Value |
Int |
0 |
Unsigned int |
1 |
Long |
2 |
Unsigned long |
3 |
Float |
4 |
Double |
5 |
Lpstr |
6 |
Lpwstr |
7 |
For more information about custom logging fields, see Setting Metabase Properties for Logging in the Platform SDK.
Data type |
Long |
Default value |
0 (int) |
Inheritance |
Inheritable |
Access Locations
This property is accessible at the following locations:
IIS Admin Base Object Information
The following tables list additional information required only for code that uses the IIS Admin Base Object.
Metabase identifier |
MD_LOGCUSTOM_PROPERTY_DATATYPE |
User type |
IIS_MD_UT_SERVER |
Bitmask Values
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. |
© 1997-2001 Microsoft Corporation. All rights reserved.