Datasnap.Provider.TGetRecordOptions

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
set
typedef
Visibility: public
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: Datasnap.Provider

Delphi

TGetRecordOptions = set of TGetRecordOption;

C++

typedef System::Set<TGetRecordOption, TGetRecordOption::grMetaData, TGetRecordOption::grXMLUTF8> TGetRecordOptions;

Description

TGetRecordOptions is used to decide what type of information is added to data packets.

TGetRecordOptions is a set of TGetRecordOption values. TGetRecordOption values are listed in the following table.



Value Meaning

grMetaData

The data packet includes metadata as well as record values.

grReset

The records in the data packet start with the first record, regardless of the contents of any previously sent data packets.

grXML

The data packet is transmitted as a string of XML instead of as an OleVariant. Extended characters are expressed using escape sequences.

grXMLUTF8

The data packet is transmitted as a string of XML instead of as an OleVariant. Extended characters are encoded using UTF-8.



See Also