다음을 통해 공유


IVsWebServiceProvider.EnsureServerRunning(String) Method

Definition

Ensures the server is running and retrieves the URL of the server implementing the Web service.

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

Parameters

pbstrUrl
String

[out] Pointer to a string containing the URL of the server.

Returns

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

Applies to