StringElement Class [IIS 7 and higher]

Contains a unique string that belongs to an array that forms a property on a class in the WMI provider for IIS.

Syntax

class StringElement : CollectionElement

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the StringElement class.

Name

Description

Value

A required unique read/write string value that belongs to an array of similar strings that forms a property on an IIS WMI provider class. The relevant classes and properties are listed later in the Remarks section. The key property.

Subclasses

This class contains no subclasses.

Remarks

The following table lists classes in the IIS WMI provider that have properties that are implemented as arrays of StringElement instances.

Class

Property

Description

AuthenticationProviderSettings

Providers

An array of security support providers that are used for Integrated Windows authentication.

FileSettings

Files

A read/write array of string values that contain the names of the files that the Web server returns to clients by default.

TraceUrlSettings

HttpTracing

An array of elements that configure tracing for specific types of requests.

Inheritance Hierarchy

CollectionElement

   StringElement

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

AuthenticationProviderSettings Class [IIS 7 and higher]

CollectionElement Class [IIS 7 and higher]

DefaultDocumentSection Class [IIS 7 and higher]

FileSettings Class [IIS 7 and higher]

HttpTracingSection Class [IIS 7 and higher]

TraceUrlSettings Class [IIS 7 and higher]

WindowsAuthenticationSection Class [IIS 7 and higher]