UserMapPath.GetPathConfigFilename Method (String, String, String, String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Populates the directory and name of the configuration file based on the site ID and site path.

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

public void GetPathConfigFilename(
	string siteID,
	string path,
	out string directory,
	out string baseName
)

Parameters

siteID
Type: System.String

A unique identifier for the site.

path
Type: System.String

The URL that is associated with the site.

directory
Type: System.String

The physical path of the configuration file.

baseName
Type: System.String

The name of the configuration file.

.NET Framework
Available since 4.0
Return to top
Show: