ApplicationDomain.VirtualPath Property

 

Gets the virtual path of the application domain

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public string VirtualPath { get; }

Property Value

Type: System.String

The virtual path of the application domain.

The virtual path of an application domain is similar to the virtual path of an application or virtual directory. A virtual path references only the significant portion of the path beyond the host identifier in a URL. For example, the default installation values for the default Web site specify a physical path of "C:\inetpub\wwwroot". When the default Web site is accessed through http://localhost/, the virtual path is "/".

The following example demonstrates how to view all properties and unload an application domain.

Return to top
Show: