Sdílet prostřednictvím


IDiscoveryResult.GetUrl(String) Method

Definition

Returns the URL of the XML Web service.

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

Parameters

pbstrURL
String

[out] Pointer to a string containing the URL.

Returns

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

Remarks

COM Signature

From discoveryservice.idl:

HRESULT IDiscoveryResult::GetUrl(  
   [out, retval] BSTR *pbstrUrl  
);  

Applies to