IInternalConfigWebHost.GetSiteIDAndVPathFromConfigPath Method

Sets the current site identifier of a configuration object based on the application virtual path and the application configuration path.

Namespace: System.Web.Configuration.Internal
Assembly: System.Web (in system.web.dll)

void GetSiteIDAndVPathFromConfigPath (
	string configPath,
	out string siteID,
	out string vpath
)
void GetSiteIDAndVPathFromConfigPath (
	String configPath, 
	/** @attribute OutAttribute() */ /** @ref */ String siteID, 
	/** @attribute OutAttribute() */ /** @ref */ String vpath
)
Not applicable.

Parameters

configPath

A string representing the path to the application's configuration file.

siteID

The application's site Identifier. For more information, see ASP.NET Configuration Overview.

vpath

The application's virtual path as a string. For more information, see ASP.NET Web Site Paths.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: