RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemoteDataModule.AS_GetProviderNames Method

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

Pascal
function AS_GetProviderNames: OleVariant; safecall;
C++
__fastcall OleVariant AS_GetProviderNames();

Call AS_AS_GetProviderNames for a list of all registered 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 IAppServer interface, pass one of these names to indicate the provider that is the target of the method call. 

AS_AS_GetProviderNames 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.

Note: Applications can only call the protected AS_AS_GetProviderNames method using the IAppServer interface.
 

 

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