IVsSccProjectProviderBinding.BrowseServerPath(String, String) Method

Definition

Displays a browse dialog box so that the user can browse for a source control server location.

public:
 int BrowseServerPath(System::String ^ lpszServerPath, [Runtime::InteropServices::Out] System::String ^ % pbstrNewServerPath);
int BrowseServerPath(std::wstring const & lpszServerPath, [Runtime::InteropServices::Out] std::wstring const & & pbstrNewServerPath);
public int BrowseServerPath (string lpszServerPath, out string pbstrNewServerPath);
abstract member BrowseServerPath : string * string -> int
Public Function BrowseServerPath (lpszServerPath As String, ByRef pbstrNewServerPath As String) As Integer

Parameters

lpszServerPath
String

[in] The server path to start from (based on the user's latest edits).

pbstrNewServerPath
String

[out] Returns the new enlistment path (local system path).

Returns

If the method succeeds, it returns S_OK. It returns S_FALSE if the browse dialog box was canceled. If it fails, this method returns an error code (a typical error code is E_NOTIMPL, indicating that the method is not supported although the rest of the interface may be).

Remarks

COM Signature

From ivssccprojectproviderbinding.idl

HRESULT BrowseServerPath(  
   [in] LPCOLESTR lpszServerPath,  
   [out, retval] BSTR * pbstrNewServerPath  
);  

If this method is supported, then the GetProviderBindingOptions method should return the VSSCC_PBO_CANBROWSESERVERPATH flag (one of the __VSSCCPROVIDERBINDINGOPTIONS values).

Applies to