ExoledbFileUrlToFilePath Method
Topic Last Modified: 2006-06-13
This method converts a file URL from the Exchange OLE DB (ExOLEDB) provider to a file path that can be used by Microsoft® Windows® file system application programming interfaces (APIs).
Applies To
Type Library
EXOLEDB Type Library
DLL Implemented In
EXOLEDB.DLL
Syntax
Function ExoledbFileUrlToFilePath( bstrExoledbFileUrl As String) As String
HRESULT ExoledbFileUrlToFilePath
(
BSTR bstrExoledbFileUrl,
BSTR* pbstrFilePath
);
Parameters
- bstrExoledbFileUrl
A "file:" URL supported by the ExOLEDB provider.
- pbstrFilePath
Pointer to a file path that can be passed to the Windows file system APIs.
Return Value
Returns S_OK if successful, or an error value otherwise.