TsgcWSPServer_DatasetProperties › AutoSynchronize

AutoSynchronize Property

Send metadata and a full dataset snapshot automatically as soon as a client connects.

Syntax

property AutoSynchronize: Boolean read FAutoSynchronize write FAutoSynchronize;

Default Value

Remarks

When True (the default), every accepted connection triggers MetaData followed by a full Synchronize so the client receives the schema and every current row without having to request them. Set it to False when snapshots are large and you prefer to drive synchronisation explicitly by calling Synchronize or MetaData from OnConnect, or by having the client send a synchronize request.

Example

oProtocol.AutoSynchronize := False;

Back to Properties