 | BulkCopyCopyAsync Method |
Copies the data provided by the dataReader to the index.
Namespace:
SphinxConnector.SphinxQL
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic Task<int> CopyAsync(
IDataReader dataReader,
CancellationToken cancellationToken = default
)
Public Function CopyAsync (
dataReader As IDataReader,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Integer)
Parameters
- dataReader
- Type: System.DataIDataReader
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
Return Value
Type:
TaskInt32The number of documents that were copied.
Exceptions
See Also