Method List
List(string, AggregateOptions, CancellationToken)
Lists the search indexes.
IAsyncCursor<BsonDocument> List(string name = null, AggregateOptions aggregateOptions = null, CancellationToken cancellationToken = default)
Parameters
name
stringName of the index.
aggregateOptions
AggregateOptionsThe aggregate options.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- IAsyncCursor<BsonDocument>
A cursor.