Click or drag to resize

IMongoSearchIndexManagerList Method

Lists the search indexes.

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
IAsyncCursor<BsonDocument> List(
	string name = null,
	AggregateOptions aggregateOptions = null,
	CancellationToken cancellationToken = default
)

Parameters

name (Optional)
Type: SystemString
Name of the index.
aggregateOptions (Optional)
Type: MongoDB.DriverAggregateOptions
The aggregate options.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: IAsyncCursorBsonDocument
A cursor.
See Also