다음을 통해 공유


FilePathToHttpUrls Method

Topic Last Modified: 2006-06-13

This method converts a file path from the local machine to a list of HTTP URLs that refer to the same resource.

Applies To

IExoledbUrlMapper Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

Function FilePathToHttpUrls(    bstrFilePath As String) As Array
HRESULT FilePathToHttpUrls
(
        BSTR bstrFilePath,
        SAFEARRAY* ppsaHttpUrls
);

Parameters

  • bstrFilePath
    A local file path to a resource in the Exchange store.
  • ppsaHttpUrls
    A SAFEARRAY of VARIANTs containing the list of HTTP URLs that refer to the same resource.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

In Microsoft® Visual C++® the returned SAFEARRAY must be freed with SafeArrayDestroy.