Navigation:  Advantage .NET Data Provider > AdsExtendedReader Class > AdsExtendedReader Methods >

AdsExtendedReader.Cancel

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Attempts to cancel an index build.

public void Cancel();

Remarks

If an index build is active, the Advantage .NET Data Provider attempts to cancel it when this method is called. No exception is generated if the attempt fails. Please note that if an index build is cancelled, the index file may be left in an unknown and incomplete state. If the index build is cancelled, it will throw an AdsException.

Example

See AdsCommand.Progress for an example of how to use the Cancel method.

See Also

Progress

ProgressMessage

CreateIndex

Reindex