UserMapPath.GetAppPathForPath Method (String, String)

.NET Framework (current version)
 

Returns the virtual directory name that is associated with a specific site.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

Public Function GetAppPathForPath (
	siteID As String,
	path As String
) As String

Parameters

siteID
Type: System.String

A unique identifier for the site.

path
Type: System.String

The URL that is associated with the site.

Return Value

Type: System.String

The siteID value must be unique. The siteID value distinguishes sites that have the same name.

.NET Framework
Available since 4.0
Return to top
Show: