IDiscoveryResult2.DownloadServiceDocument Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bir Web hizmeti bulma oturumunun sonuçlarını içeren Istemci bulma sonucu koleksiyon nesnesine yönelik işaretçiyle bir çıkış parametresini güncelleştirir
public:
int DownloadServiceDocument(System::String ^ bstrDestinationPath, System::String ^ bstrDiscomapFileName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryClientResultCollection ^ % ppIDiscoveryClientResultCollection);
public:
int DownloadServiceDocument(Platform::String ^ bstrDestinationPath, Platform::String ^ bstrDiscomapFileName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryClientResultCollection ^ & ppIDiscoveryClientResultCollection);
int DownloadServiceDocument(std::wstring const & bstrDestinationPath, std::wstring const & bstrDiscomapFileName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryClientResultCollection const & & ppIDiscoveryClientResultCollection);
public int DownloadServiceDocument (string bstrDestinationPath, string bstrDiscomapFileName, out Microsoft.VisualStudio.Shell.Interop.IDiscoveryClientResultCollection ppIDiscoveryClientResultCollection);
abstract member DownloadServiceDocument : string * string * IDiscoveryClientResultCollection -> int
Public Function DownloadServiceDocument (bstrDestinationPath As String, bstrDiscomapFileName As String, ByRef ppIDiscoveryClientResultCollection As IDiscoveryClientResultCollection) As Integer
Parametreler
- bstrDestinationPath
- String
'ndaki Dosyaların depolanacağı klasörün hedef yolunu içeren dize.
- bstrDiscomapFileName
- String
'ndaki Bula eşleme dosyasının hedef yolunu içeren dize.
- ppIDiscoveryClientResultCollection
- IDiscoveryClientResultCollection
dışı Bir işaretçisinin işaretçisi işaretçisi IDiscoveryClientResultCollection .
Döndürülenler
Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.
Açıklamalar
COM Imzası
Discoveryservice80. IDL adresinden:
HRESULT IDiscoveryResult2::DownloadServiceDocument(
[in] BSTR bstrDestinationPath,
[in] BSTR bstrDiscomapFileName,
[out, retval] IDiscoveryClientResultCollection **ppIDiscoveryClientResultCollection
);