Datasnap.DSHTTPCommon.TDSServiceResponseHandler.ForceResultArray

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Datasnap.DSHTTPCommon.pas
Datasnap.DSHTTPCommon.hpp
Unit: Datasnap.DSHTTPCommon
Parent: TDSServiceResponseHandler

Delphi

property ForceResultArray: Boolean read FForceResultArray write FForceResultArray;

C++

__property bool ForceResultArray = {read=FForceResultArray, write=FForceResultArray, nodefault};

Description

Specifies how to pass the result objects back in an array regarding of how many commands were executed.

The ForceResultArray property is True with the purpose of passing the result object back in an array even if there was only one command executed, and False with the purpose of only passing back the result objects in an array if there was more than one command executed. By default, ForceResultArray is set to False.

See Also