IMetadataInfo Interface


Retrieves metadata information for the current context.


class IMetadataInfo  


The following table lists the methods exposed by the IMetadataInfo interface.

Name Description
GetMetaPath Retrieves the configuration path for the current context.
GetModuleContextContainer Returns the context container for the metadata.
GetVrPath Retrieves the physical path for a virtual directory within the current context.
GetVrToken Retrieves an IHttpTokenEntry interface for the impersonation account that is configured for a virtual directory.

Derived Classes

Name Description
IReferencedMetadataInfo345258f4-4161-4f96-9ff1-2056d412d83b Provides an interface for referencing and dereferencing context metadata.


Developers can use the IMetadataInfo interface to retrieve metadata-related configuration information.


Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016 Technical Preview
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- IIS Express 7.5, IIS Express 8.0, IIS Express 10.0
Header Httpserv.h

See Also

Web Server Core Interfaces