IInternalConfigWebHost.GetSiteIDAndVPathFromConfigPath(String, String, String) 方法
定义
根据应用程序虚拟路径和应用程序配置路径设置配置对象的当前站点标识符。Sets the current site identifier of a configuration object based on the application virtual path and the application configuration path.
public:
void GetSiteIDAndVPathFromConfigPath(System::String ^ configPath, [Runtime::InteropServices::Out] System::String ^ % siteID, [Runtime::InteropServices::Out] System::String ^ % vpath);
public void GetSiteIDAndVPathFromConfigPath (string configPath, out string siteID, out string vpath);
abstract member GetSiteIDAndVPathFromConfigPath : string * string * string -> unit
Public Sub GetSiteIDAndVPathFromConfigPath (configPath As String, ByRef siteID As String, ByRef vpath As String)
参数
- configPath
- String
一个字符串,表示应用程序的配置文件的路径。A string representing the path to the application's configuration file.
- siteID
- String
应用程序的站点标识符。The application's site Identifier. 更多信息,请参见 ASP.NET 配置概览。For more information, see ASP.NET Configuration Overview.
- vpath
- String
应用程序的虚拟路径(字符串形式)。The application's virtual path as a string. 更多信息,请参见 ASP.NET 网站路径。For more information, see ASP.NET Web Site Paths.