RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCRemoteDataModule.CRDMGetProviderNames Method

Returns a list of all the available providers on the remote data module.

Pascal
function CRDMGetProviderNames: OleVariant;
C++
__fastcall OleVariant CRDMGetProviderNames();

Call CRDMGetProviderNames for a list of all providers available from a remote data module. These values indicate the possible values for the ProviderName property of a client dataset that connects to the remote data module. When calling any of the remote data modules through the TRemoteDataModule interface, pass one of these names to indicate the provider that is the target of the method call. 

CRDMGetProviderNames returns the names of the providers in a Variant array. Client datasets are associated with a provider by setting their ProviderName property to one of these names. 

CRDMGetProviderNames provides the underlying implementation for the TRemoteDataModule method AS_GetProviderNames.

Warning: CRDMGetProviderNames returns a list that can include providers that are not exported. If a provider in the list has its Exported property set to false, trying to use that provider over an TRemoteDataModule interface results in an exception.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!