This documentation is archived and is not being maintained.

AspNetManagementUtility.DisplayAspNetConfigSettings Method

Note: This method is new in the .NET Framework version 2.0.

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Retrieves the ASP.NET configuration settings for the specified ASP.NET Web application.

Namespace: Microsoft.Aspnet.Snapin
Assembly: AspNetMMCExt (in aspnetmmcext.dll)

public void DisplayAspNetConfigSettings (
	string machineName,
	string site,
	string virtualDirectory,
	string siteName,
	string location,
	int processID,
	out string exception
public final void DisplayAspNetConfigSettings (
	String machineName, 
	String site, 
	String virtualDirectory, 
	String siteName, 
	String location, 
	int processID, 
	/** @attribute OutAttribute() */ /** @ref */ String exception
JScript does not support passing value-type arguments by reference.



The computer to retrieve configuration settings from.


The ID of the IIS Web site to retrieve configuration settings from.


The IIS virtual directory to retrieve configuration settings from.


The name of the IIS site to retrieve configuration settings from.


The specific resource to which the configuration applies.


The system process ID of the process displaying the configuration settings dialog box.


The exception(s) that occurred.

For more information about programming with the AspNetManagementUtility class and the Microsoft Management Console (MMC), see the "MMC Programmer's Guide" in the MSDN Library.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0