Datasnap.Midas.IAppServer.AS_GetProviderNames

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  AS_GetProviderNames: OleVariant; safecall;

C++

virtual HRESULT __safecall AS_GetProviderNames(System::OleVariant &__AS_GetProviderNames_result) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Datasnap.Midas.pas
Datasnap.Midas.hpp
Datasnap.Midas IAppServer


Description

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

Call AS_GetProviderNames 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 uses the IAppServer interface of an application server. When calling any other IAppServer method, 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.

See Also