IDiscoveryResult.AddWebReference(Object, String) Method

Definition

Call this method to download the files cached by the latest discovery session.

public:
 int AddWebReference(System::Object ^ punkWebReferenceFolder, System::String ^ bstrDestinationPath);
public:
 int AddWebReference(Platform::Object ^ punkWebReferenceFolder, Platform::String ^ bstrDestinationPath);
int AddWebReference(winrt::Windows::Foundation::IInspectable const & punkWebReferenceFolder, std::wstring const & bstrDestinationPath);
public int AddWebReference (object punkWebReferenceFolder, string bstrDestinationPath);
abstract member AddWebReference : obj * string -> int
Public Function AddWebReference (punkWebReferenceFolder As Object, bstrDestinationPath As String) As Integer

Parameters

punkWebReferenceFolder
Object

[in] Specifies the reference folder of the project automation item.

bstrDestinationPath
String

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

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::AddWebReference(  
   [in] IUnknown* punkWebReferenceFolder,  
   [in] BSTR bstrDestinationPath  
);  

Applies to