Datasnap.DataBkr.TProviderDataModule.GetProvider

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetProvider(const ProviderName: string): TCustomProvider; virtual;

C++

virtual Datasnap::Provider::TCustomProvider* __fastcall GetProvider(const System::UnicodeString ProviderName);

Properties

Type Visibility Source Unit Parent
function protected
Datasnap.DataBkr.pas
Datasnap.DataBkr.hpp
Datasnap.DataBkr TProviderDataModule

Description

Returns a registered provider component given its name.

GetProvider is the protected read implementation of the Providers property. ProviderName specifies the name of a provider that is returned. If ProviderName is not one of the names returned by AS_GetProviderNames (for example, if the provider's Exported property is false), GetProvider raises an exception.

See Also