IConfigMapPath.GetAppPathForPath(String, String) Method

Definition

Gets the virtual-directory name associated with a specific site.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 System::String ^ GetAppPathForPath(System::String ^ siteID, System::String ^ path);
public string GetAppPathForPath (string siteID, string path);
abstract member GetAppPathForPath : string * string -> string
Public Function GetAppPathForPath (siteID As String, path As String) As String

Parameters

siteID
String

A unique identifier for the site.

path
String

The URL associated with the site.

Returns

The siteID must be unique. No two sites share the same id. The siteID distinguishes sites that have the same name.

Remarks

GetAppPathForPath is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to