IDADriverManager Interface

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for Data Abstract for Delphi
This page is generated from external data, please do not update

InterfacesClassesEnumsAliasesImplements

Contents

Overview

IDADriverManager provides access to all the functionality needed to load, unload and verify drivers.

Though this interface isn't used in Data Abstract directly, it can be usable in Hydra plugins for drivers managing.

It can be obtained using a TDADriverManager component:

var
 idm:IDADriverManager;
begin
  idm :=  DriverManager as IDADriverManager;


Location

uDAInterfaces.pas

Implemented in


Properties

DriverCount

Returns the number of drivers currently available, including both statically linked and dynamically loaded drivers.



property DriverCount: integer read


Drivers

Returns the IDADriver reference for the specified driver.



property Drivers[Index: integer]: IDADriver read


Required Methods

DriverByDriverID



function DriverByDriverID(const aDriverID: string): IDADriver


Parameters:

  • aDriverID:


FindDriver



function FindDriver(const aDriverID: string; out Driver: IDADriver): boolean


Parameters:

  • aDriverID:
  • Driver:


GetDriverCount

Returns the number of drivers currently available, including both statically linked and dynamically loaded drivers.


function GetDriverCount: integer


GetDrivers

Returns the IDADriver reference for the specified driver.


function GetDrivers(Index: integer): IDADriver


Parameters:

  • Index:


ListDrivers



function ListDrivers(const aDirectory: string; out FileNames: IROStrings): integer


Parameters:

  • aDirectory:
  • FileNames:


LoadDriver

Dynamically loads the driver from the specified .dad file.


procedure LoadDriver(const aFileName: string)


Parameters:

  • aFileName:


LoadDrivers ()   overload

Dynamically loads all the drivers from the specified list of .dad files.


procedure LoadDrivers


LoadDrivers (IROStrings, boolean, boolean)   overload



procedure LoadDrivers(const aDriverList: IROStrings; aIgnoreDuplicates: boolean; aIgnoreErrors: boolean)


Parameters:

  • aDriverList:
  • aIgnoreDuplicates:
  • aIgnoreErrors:


UnloadAllDrivers

Unloads all dynamically loaded drivers. Before calling this method, make sure that there are no active or pooled connections using the driver(s) about to be unloaded. You can ensure all pooled connections are closed by calling the TDAConnectionManager.ClearPool method.


procedure UnloadAllDrivers


UnloadDriver

Unloads the specified driver, if it was dynamically loaded. Before calling this method, make sure there are no active or pooled connections using the driver(s) about to be unloaded. You can ensure all pooled connections are closed by calling the TDAConnectionManager.ClearPool method.


procedure UnloadDriver(anIndex: integer)


Parameters:

  • anIndex:


See Also


Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode

GlossaryArticlesFeaturesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox