Datasnap.Win.TConnect.TLocalConnection.AS_GetProviderNames
Delphi
function AS_GetProviderNames: OleVariant; safecall;
C++
HRESULT __safecall AS_GetProviderNames(System::OleVariant &__AS_GetProviderNames_result);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Datasnap.Win.TConnect.pas Datasnap.Win.TConnect.hpp |
Datasnap.Win.TConnect | TLocalConnection |
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.