Share via


FilePathToExoledbFileUrl Method

FilePathToExoledbFileUrl Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This method converts a file path from the local machine to a "file:" URL supported by the Exchange OLE DB (ExOLEDB) provider.

Applies To

IExoledbUrlMapper Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

[Visual Basic]Function FilePathToExoledbFileUrl
(
    bstrFilePath As String
) As String

[C++]HRESULT FilePathToExoledbFileUrl (     BSTR bstrFilePath,     BSTRpbstrExoledbFileUrl );

Parameters

  • bstrFilePath
    A local file path to a resource in the Exchange store.
  • pbstrExoledbFileUrl
    Pointer to a "file:" URL that can be passed to an ExOLEDB provider.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

In Microsoft Visual C++ the returned BSTR must be freed with SysFreeString.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.