VirtualDirectory.PhysicalPath Property

 

Gets or sets the physical location of the virtual directory to use.

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

public string PhysicalPath { get; set; }

Property Value

Type: System.String

The physical location path of which the virtual directory maps.

This path may be a UNC path. However, credentials are required if you are delegating administration of this directory to a user who is not a member of the local Administrators group on the Web server.

The following example demonstrates how to set the PhysicalPath property of a virtual directory.

Return to top
Show: