IInternalConfigWebHost.GetSiteIDAndVPathFromConfigPath Method
Sets the current site identifier of a configuration object based on the application virtual path and the application configuration path.
Assembly: System.Web (in System.Web.dll)
'Declaration Sub GetSiteIDAndVPathFromConfigPath ( _ configPath As String, _ <OutAttribute> ByRef siteID As String, _ <OutAttribute> ByRef vpath As String _ ) 'Usage Dim instance As IInternalConfigWebHost Dim configPath As String Dim siteID As String Dim vpath As String instance.GetSiteIDAndVPathFromConfigPath(configPath, _ siteID, vpath)
Parameters
- configPath
- Type: System.String
A string representing the path to the application's configuration file.
- siteID
- Type: System.String%
The application's site Identifier. For more information, see ASP.NET Configuration Overview.
- vpath
- Type: System.String%
The application's virtual path as a string. For more information, see ASP.NET Web Site Paths.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.