Datasnap.DBClient.TCustomClientDataSet.ProviderName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ProviderName: string read FProviderName write SetProviderName;

C++

__property System::UnicodeString ProviderName = {read=FProviderName, write=SetProviderName};

Properties

Type Visibility Source Unit Parent
property public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

Description

Specifies the name of a provider component that supplies data to and applies updates from the client dataset.

Use ProviderName to specify an external provider object that links the client dataset to another (source) dataset or to an XML document. This property is passed as a parameter to IAppServer interface calls when the client fetches data from or applies updates to the source dataset, or its database server, or the source XML document.

The provider specified by ProviderName can reside in the same application as the client dataset or in an application server running on another system.

If the provider is in the same application as the client dataset, it must have the same Owner as the client dataset. To use a local provider that has a different Owner, use the SetProvider method instead.

If the provider is on a remote application server, it must be exported by that application server. If the application server contains multiple provider objects, you can set ProviderName to any of them once the client dataset establishes an initial connection to the application server through its RemoteServer property. If the connection component is a Web connection or socket connection, or if the application server is registered on the client system (using TRegsvr.exe), ProviderName can be set from a drop-down in the Object Inspector once the RemoteServer property is set.

See Also