Click or drag to resize

BulkCopyCopyAsync Method

Copies the data provided by the dataReader to the index.

Namespace:  SphinxConnector.SphinxQL
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public Task<int> CopyAsync(
	IDataReader dataReader,
	CancellationToken cancellationToken = default
)

Parameters

dataReader
Type: System.DataIDataReader
cancellationToken (Optional)
Type: System.ThreadingCancellationToken

Return Value

Type: TaskInt32
The number of documents that were copied.
Exceptions
ExceptionCondition
ArgumentNullException
See Also