IDiscoveryResult.GetUrl(String) Method
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);
C++/WinRT
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
- pbstrURL
- String
[out] Pointer to a string containing the URL.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From discoveryservice.idl:
cpp#
HRESULT IDiscoveryResult::GetUrl(
[out, retval] BSTR *pbstrUrl
);
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |