IDiscoveryResult2::DownloadServiceDocument Method (String^, String^, IDiscoveryClientResultCollection^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If 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
);
Return to top
Show: