IWebFileCtxService.GetWebRootPath(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the path to the root of the Web site.
public:
int GetWebRootPath([Runtime::InteropServices::Out] System::String ^ % pbstrWebRootPath);
int GetWebRootPath([Runtime::InteropServices::Out] std::wstring const & & pbstrWebRootPath);
public int GetWebRootPath (out string pbstrWebRootPath);
abstract member GetWebRootPath : string -> int
Public Function GetWebRootPath (ByRef pbstrWebRootPath As String) As Integer
Parameters
- pbstrWebRootPath
- String
[out] Pointer to a string containing the path to the root of the Web site.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.