WildcardRedirectElement Class [IIS 7 and higher]

Specifies a destination to which certain requests are redirected.

Syntax

class WildcardRedirectElement : CollectionElement

Methods

This class contains no methods.

Properties

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

Name

Description

Destination

A read/write string value that contains the file name, directory path, or URL to which the user is redirected.

Wildcard

A required read-only string value that contains the file name, directory path, or URL from which the user is redirected. The key property.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are exposed as members of the WildcardRedirects property of the HttpRedirectSection class.

Inheritance Hierarchy

CollectionElement

   WildcardRedirectElement

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

CollectionElement Class [IIS 7 and higher]

HttpRedirectSection Class [IIS 7 and higher]