property Element for key for customMetadata [IIS Settings Schema]

Note

For more information about the property element, see the following topic on the Microsoft IIS.net Web site: Custom Metadata Key Property <property>.

Adds a metabase property to the collection of metabase properties.

Caution

This section of the configuration should not be modified.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

id

Optional integer attribute.

Specifies the unique identifier of the metabase entry.

dataType

Required enum attribute.

Specifies the type of data to retrieve.

The dataType attribute can be one of the following possible values.

ValueDescription
DWordAn unsigned 32-bit number. The numeric value is 1.
StringA null-terminated ASCII string. The numeric value is 2.
BinaryBinary data in any form. The numeric value is 3.
ExpandSZA null-terminated string that contains unexpanded environment variables, such as %PATH%. The numeric value is 4.
MultiSZAn array of null-terminated strings, terminated by two null characters. The numeric value is 5.

userType

Optional integer attribute.

Specifies the user type of the data.

The default value is 1.

attributes

Optional enum attribute.

Specifies the flags, contained in the METADATA_RECORD structure, that are used to get the data.

The attributes attribute can be one of the following possible values.

The default value is Inherit.

ValueDescription
NoneSpecifies that no flags are set. The numeric value is 0.
InheritSpecifies that the data can be inherited. The numeric value is 1.
PartialPathReturns any inherited data even if the complete path is not available. This flag is only valid when the Inherit flag is also set. The numeric value is 2.
SecureSpecifies that the data is stored and transported in a secure manner. The numeric value is 4.
ReferenceSpecifies that the data was retrieved by reference. The numeric value is 8.
VolatileSpecifies that the data is not stored in long-term storage. The numeric value is 16.
IsInheritedDenotes that the data items were inherited. The numeric value is 32.
InsertPathReplaces MD_INSERT_PATH_STRINGW with the path of the data item relative to the handle. The numeric value is 64.
LocalMachineOnlySpecifies that the data is not replicated during web cluster replication. The numeric value is 128.
NonSecureOnlySpecifies that secure properties should not be retrieved when calling GetAll. The numeric value is 256.

value

Optional case-sensitive string attribute.

Specifies a custom value.

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.applicationHost

Specifies the root element for configuring Web process settings.

customMetadata

Contains settings that are used internally by the Admin Base Object (ABO) mapper component of IIS 7.

key

Adds a custom metadata setting to the collection of custom metadata settings.

Remarks

For more information about the property element, see the following topic on the Microsoft IIS.net Web site: Custom Metadata Key Property <property>.

Element Information

Configuration locations

Machine.config

ApplicationHost.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0

See Also

Reference

customMetadata Element [IIS Settings Schema]

key Element for customMetadata [IIS Settings Schema]