Partager via


IDiscoveryResult2.DownloadServiceDocument Method

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)

Syntax

'Declaration
Function DownloadServiceDocument ( _
    bstrDestinationPath As String, _
    bstrDiscomapFileName As String, _
    <OutAttribute> ByRef ppIDiscoveryClientResultCollection As IDiscoveryClientResultCollection _
) As Integer
int DownloadServiceDocument(
    string bstrDestinationPath,
    string bstrDiscomapFileName,
    out IDiscoveryClientResultCollection ppIDiscoveryClientResultCollection
)
int DownloadServiceDocument(
    [InAttribute] String^ bstrDestinationPath, 
    [InAttribute] String^ bstrDiscomapFileName, 
    [OutAttribute] IDiscoveryClientResultCollection^% ppIDiscoveryClientResultCollection
)
abstract DownloadServiceDocument : 
        bstrDestinationPath:string * 
        bstrDiscomapFileName:string * 
        ppIDiscoveryClientResultCollection:IDiscoveryClientResultCollection byref -> int
function DownloadServiceDocument(
    bstrDestinationPath : String, 
    bstrDiscomapFileName : String, 
    ppIDiscoveryClientResultCollection : IDiscoveryClientResultCollection
) : int

Parameters

  • bstrDestinationPath
    Type: String

    [in] String containing the destination path to the folder where the files are to be stored.

  • bstrDiscomapFileName
    Type: String

    [in] String containing the destination path to the discomap file.

Return Value

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

Remarks

COM Signature

From discoveryservice80.idl:

HRESULT IDiscoveryResult2::DownloadServiceDocument(
   [in] BSTR bstrDestinationPath,
   [in] BSTR bstrDiscomapFileName,
   [out, retval] IDiscoveryClientResultCollection **ppIDiscoveryClientResultCollection
);

.NET Framework Security

See Also

Reference

IDiscoveryResult2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace