Occurs when Advantage .NET Data Provider receives a progress report from the Advantage Database Server on an index build.
public event AdsInfoMessageEventHandler ProgressMessage;
This event provides the ability for an application to register a delegate function to receive progress callbacks during index builds. This can provide equivalent functionality to the AdsExtendedReader.Progress property but does not require a separate thread to monitor the progress. The provider will fire an event each time it receives a progress update from the server, which is generally every 2 seconds.
The event handler receives an argument of type AdsInfoMessageEventArgs containing data related to this event. The relevant data is the Number property, which contains the estimated percentage of the index build progress.
See AdsCommand.ProgressMessage for an example of how to register a delegate function with the ProgressMessage event.