Datasnap.Win.MtsRdm.TMtsDataModule.AS_GetProviderNames

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AS_GetProviderNames: OleVariant; safecall;

C++

HIDESBASE HRESULT __safecall AS_GetProviderNames(System::OleVariant &__AS_GetProviderNames_result);

Properties

Type Visibility Source Unit Parent
function protected
Datasnap.Win.MtsRdm.pas
Datasnap.Win.MtsRdm.hpp
Datasnap.Win.MtsRdm TMtsDataModule

Description

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

Datasnap.Win.MtsRdm.TMtsDataModule.AS GetProviderNames inherits from Datasnap.DataBkr.TRemoteDataModule.AS_GetProviderNames. All content below this line refers to Datasnap.DataBkr.TRemoteDataModule.AS_GetProviderNames.

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

Call 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 TRemoteDataModule interface, pass one of these names to indicate the provider that is the target of the method call.

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_GetProviderNames method using the TRemoteDataModule interface.

See Also