RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCRemoteDataModule.GetProvider Method

Returns a registered provider component given its name.

Pascal
function GetProvider(const ProviderName: string): TCustomProvider; virtual;
C++
virtual __fastcall TCustomProvider GetProvider(const AnsiString ProviderName);

GetProvider returns the reference to a provider given its name. ProviderName specifies the name of a provider that is returned. If ProviderName is not one of the names returned by CRDMGetProviderNames, or if the provider's Exported property is false, GetProvider raises an exception. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!