IDiscoveryResult.GetUrl(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);