Datasnap.DBClient.TCustomClientDataSet.HasAppServer

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HasAppServer: Boolean read GetHasAppServer;

C++

__property bool HasAppServer = {read=GetHasAppServer, nodefault};

Properties

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

Description

Indicates whether the client dataset is connected to a provider.

Read HasAppServer to determine whether the client dataset gets its data from an IAppServer interface. When HasAppServer is True, the client can interact with an internal provider, a local provider in the same process space, or a provider on a remote application server using the IAppServer interface.

Use HasAppServer to check whether the client dataset is connected rather than reading the AppServer property. Reading AppServer causes the client dataset to establish a connection and obtain an IAppServer interface if it does not already have one.

See Also