LogCustomPropertyDataType Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The LogCustomPropertyDataType property contains bitmask values that indicate the data type of a custom logging field. The bitmask values are listed in the Bitmask Values section.

For more information about custom logging fields, see "Setting Metabase Properties for Logging" in the Platform SDK.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_LOGCUSTOM_SERVICES_string

Attributes

INHERIT

Default Value

0

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

4505

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/logging/Custom Logging

/LM/logging/Custom Logging/Date

/LM/logging/Custom Logging/Time

/LM/logging/Custom Logging/Extended Properties

/LM/logging/Custom Logging/Extended Properties/extended_property_name

IIsCustomLogModule

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.

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.