Datasnap.DSHTTPCommon.TDSServiceResponseHandler.ForceResultArray

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ForceResultArray: Boolean read FForceResultArray write FForceResultArray;

C++

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

Properties

Type Visibility Source Unit Parent
property public
Datasnap.DSHTTPCommon.pas
Datasnap.DSHTTPCommon.hpp
Datasnap.DSHTTPCommon TDSServiceResponseHandler

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