Udostępnij za pośrednictwem


IVsProjectServerHost.GetServerUrl(String) Method

Definition

Gets the URL of the hosted server.

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

Parameters

pbstrUrl
String

Url of the hosted server.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell90.idl:

HRESULT GetServerUrl([out, retval] BSTR *pbstrUrl);  

Applies to