 | BulkCopyCopyAsync Method |
Copies the data provided by the dataReader to the index.
Namespace: SphinxConnector.SphinxQLAssembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
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 IDataReader
- cancellationToken CancellationToken (Optional)
Return Value
TaskInt32The number of documents that were copied.
Exceptions
See Also