Partager via


IDiscoveryClientResult.GetUrl(String) Method

Definition

Returns the URL of the referenced document in the discovery document.

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 the string containing the URL of the document referenced in the discovery document.

Returns

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

Remarks

COM Signature

From designer.idl:

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

Applies to