IDiscoveryResult2::DownloadServiceDocument Method (String^, String^, IDiscoveryClientResultCollection^)
Visual Studio 2015
Updates an output parameter with a pointer to a pointer to a Client Discovery Result Collection Object containing the results of a Web Service Discovery Session
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int DownloadServiceDocument(
String^ bstrDestinationPath,
String^ bstrDiscomapFileName,
[OutAttribute] IDiscoveryClientResultCollection^% ppIDiscoveryClientResultCollection
)
Parameters
- bstrDestinationPath
-
Type:
System::String^
[in] String containing the destination path to the folder where the files are to be stored.
- bstrDiscomapFileName
-
Type:
System::String^
[in] String containing the destination path to the discomap file.
- ppIDiscoveryClientResultCollection
-
Type:
Microsoft.VisualStudio.Shell.Interop::IDiscoveryClientResultCollection^
[out] Pointer to a pointer to a IDiscoveryClientResultCollection.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From discoveryservice80.idl:
HRESULT IDiscoveryResult2::DownloadServiceDocument( [in] BSTR bstrDestinationPath, [in] BSTR bstrDiscomapFileName, [out, retval] IDiscoveryClientResultCollection **ppIDiscoveryClientResultCollection );
Show: