Datasnap.DataBkr.TProviderDataModule.GetProvider
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Datasnap.DataBkr.pas Datasnap.DataBkr.hpp
| |
Unit: Datasnap.DataBkr | |
Parent: TProviderDataModule |
Delphi
function GetProvider(const ProviderName: string): TCustomProvider; virtual;
C++
virtual Datasnap::Provider::TCustomProvider* __fastcall GetProvider(const System::UnicodeString ProviderName);
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.