Datasnap.DataBkr.TCRemoteDataModule.CRDMGetProviderNames

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CRDMGetProviderNames: OleVariant;

C++

System::OleVariant __fastcall CRDMGetProviderNames();

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DataBkr.pas
Datasnap.DataBkr.hpp
Datasnap.DataBkr TCRemoteDataModule

Description

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

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 a TRemoteDataModule interface results in an exception.

See Also