Datasnap.Provider.TGetRecordOption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TGetRecordOption = (grMetaData, grReset, grXML, grXMLUTF8);

C++

enum DECLSPEC_DENUM TGetRecordOption : unsigned char { grMetaData, grReset, grXML, grXMLUTF8 };

Properties

Type Visibility Source Unit Parent
enum public
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider Datasnap.Provider

Description

TGetRecordOption enumerates the types of information that can be added to data packets.

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