TsgcWSPClient_DatasetProperties › AutoSubscribe

AutoSubscribe Property

Subscribe automatically to the internal Dataset channels after connecting.

Syntax

property AutoSubscribe: Boolean read FAutoSubscribe write FAutoSubscribe;

Default Value

Remarks

When True (default), the component calls Subscribe_all after a successful connection and handshake, subscribing to the three internal channels (new, update, delete) used by the Dataset protocol. Set to False if you want to control subscriptions manually or subscribe only to a subset of the Dataset channels.

Example

oProtocol.AutoSubscribe := True;

Back to Properties