FDO API Reference Feature Data Objects

IConnectionManager Class Reference

#include <IConnectionManager.h>

Inherits FdoIDisposable.

Inherited by FdoConnectionManager.

Inheritance diagram for IConnectionManager:

Inheritance graph
[legend]
List of all members.

Detailed Description

The IConnectionManager interface supports dynamic creation of connection objects given a provider name.

Remarks:
In order for dynamic creation to work, each dynamic link library, shared library, or assembly that implements a provider must supply a well-defined entry point function that takes as input a provider name and returns an FdoIConnection instance. The definition of the entry point function is language and platform dependent. For this release of FDO, on the Windows platform, windows libraries supporting FDO providers will be expected to support the following well-known entry point function which will create and returns an unitialized connection object.

FdoIConnection * CreateConnection();

Definition at line 45 of file IConnectionManager.h.


Public Member Functions

virtual FDO_API FdoIConnectionCreateConnection (const wchar_t *providerName)=0
 Creates an unitialized connection object given the provider name.
virtual FDO_API void FreeLibrary (const wchar_t *providerName)=0
 Frees a connection library reference given the provider name.

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.