共用方式為


LogCustomPropertyID

The LogCustomPropertyID property specifies the ABO Metabase identifier of the metabase property that determines if logging is enabled or disabled for the logging field in question. Consult the metabase property reference page, to obtain the ABO Metabase identifier for a particular property.

For instance, the ABO Metabase identifier for LogExtFileFlags is MD_LOGEXT_FIELD_MASK, and the ID number is 4013.

When a logging module is called to log custom information fields, the logging module accesses the property specified by LogCustomPropertyID, and checks the individual flag bits, specified by LogCustomPropertyMask, to determine if that particular field is currently enabled or disabled.

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

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

0

Internal Default

Not specified.

Upper Bound

0

Lower Bound

Not specified

Internal ID

4503

Friendly ID

MD_LOGCUSTOM_PROPERTY_ID

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

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

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also