This topic has not yet been rated - Rate this topic

Exchange OLE DB Provider (ExOLEDB)

Exchange Server 2003
This topic provides information about using Exchange OLE DB Provider (ExOLEDB) to develop messaging applications.

Introduction

Through the Exchange OLE DB provider (ExOLEDB), programmers can access the Exchange store by using OLE DB and Microsoft ActiveX® Data Objects (ADO). ExOLEDB can be used on the local Exchange server to access Exchange store items.

Caveats

The ExOLEDB provider can only be used on a computer where Exchange is running, and only to access stores located on that computer. ExOLEDB cannot be used on Exchange front-end servers. To access remote public stores and mailbox stores, use the WebDAV protocol, MAPI, or CDO 1.2.1.

Functional Criteria

CriteriaExchange OLE DB Provider (ExOLEDB)
Application DomainApplications that use ExOLEDB typically access information from the Exchange store by using SQL queries. ExOLEDB can be used to retrieve and manipulate all types of data in the Exchange store that the user has permission to access. ExOLEDB also provides full-text search capability over items in the Exchange store.
Major ObjectsExOLEDB is not typically used as an object model, but as an OLE Database Provider, with ActiveX Data Objects (ADO). ExOLEDB does expose an OLE DB version 2.5 object model that allows direct access without the overhead of ADO.
Data Access ModelExOLEDB provides a purely database-style model.
Threading ModelsApplications that use ExOLEDB do not directly access it, and so threading restrictions are determined by the application and ADO (or WebDAV).
Application ArchitecturesBecause the ExOLEDB provider must be run on the Exchange server, and can only access data that is located on that server, applications that use ExOLEDB must also run on the Exchange server. These are typically ASP applications that require access to information stored in the Exchange store.
Remote UsageExOLEDB cannot be used remotely.
TransactionsTransactions are not directly supported by ExOLEDB.
Management CapabilitiesExOLEDB provides performance counters that can be used to analyze application performance and health, as well as to measure the response time of the Exchange server.
AvailabilityCurrently shipping with Exchange 2000 Server and Exchange Server 2003. No changes are planned at this time. Future versions after Exchange 2003 might not include, or provide access to, this technology.

Development Criteria

CriteriaExchange OLE DB Provider (ExOLEDB)
Languages and ToolsADO can be used with any COM/Automation-compatible language, as well as with non-COM languages such as C/C++.
Managed ImplementationExOLEDB is an unmanaged component. Use of the ExOLEDB provider is supported under the COM Interoperability layer of Visual Studio .NET and the .NET Framework. ExOLEDB can only be run on a computer on which Exchange has been installed.
ScriptableExOLEDB is scriptable by using ADO.
Test/Debug ToolsNo special debugging tools are needed to debug applications that use ExOLEDB.
Expert AvailabilityIt is relatively easy to find experts who know ADO and SQL well. It may be a bit more difficult to find people who are already familiar the particulars of the full-text search query language.
Available InformationExOLEDB is discussed in some Microsoft and third-party Exchange development books. It is also described in the Exchange Server 2003 SDK and in the Exchange 2000 Server SDK. Use the documentation appropriate to the version of Exchange you are developing for. To access the Exchange Server 2003 and the Exchange 2000 Server SDKs, see Microsoft Exchange Server Online link on MSDN.
Developer/Deployment LicensingRefer to your Exchange and MSDN subscription licensing agreements to determine whether additional licenses are required for the computers on which your ExOLEDB applications are developed and deployed.

Security Criteria

CriteriaExchange OLE DB Provider (ExOLEDB)
Design-Time PermissionsDepending on the development environment and configuration being used, developers may need Exchange administrative permissions for the servers they are working with. Use caution when granting anyone unrestricted access to user mailboxes and Exchange system configuration settings.
Setup PermissionsApplications that use ExOLEDB must be run on the Exchange server on which the data is stored, and the user installing the application must have permissions on that Exchange server. Use caution when granting anyone permission to install software on a production Exchange server. Those permissions should be reviewed after the application is installed and tested.
Run-Time PermissionsBecause applications that use ExOLEDB reside on the Exchange server where the data is stored, the user running the application must have sufficient permission to access the data.
Built-in Security FeaturesExOLEDB uses the underlying Microsoft® Windows® 2000 (or Windows Server™ 2003) security features.
Security Monitoring FeaturesNone.

Deployment Criteria

CriteriaExchange OLE DB Provider (ExOLEDB)
Server Platform RequirementsExOLEDB can only be run on a computer on which Exchange is running, and can only access databases and storage groups that are actually managed by that Exchange server. ExOLEDB can not be used on front-end Exchange servers.
Client Platform RequirementsNot applicable; ExOLEDB is not a client-side technology.
Deployment MethodsIf the client or application being installed needs access to ExOLEDB, the installer should verify that the computer is running Exchange, and that server has storage groups/databases managed by it.
Deployment Notes
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.