다음을 통해 공유


IWebFileCtxService.GetWebRootPath(String) Method

Definition

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.

Applies to