TsgcWSPServer_DatasetProperties › NotifyUpdates

NotifyUpdates Property

Broadcast inserts and updates to connected clients whenever the server dataset posts a record.

Syntax

property NotifyUpdates: Boolean read FNotifyUpdates write FNotifyUpdates;

Default Value

Remarks

When True (the default), the server hooks the dataset's AfterPost and AfterRefresh events and broadcasts the posted or refreshed record on the internal update channel, so every subscribed client raises OnAfterNewRecord or OnAfterUpdateRecord and mirrors the change locally. Set it to False to suppress automatic notifications — the dataset still applies updates locally, but clients stay unchanged until you call BroadcastRecord or Synchronize explicitly.

Example

oProtocol.NotifyUpdates := False;

Back to Properties