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
)
Function List (
Optional name As String = Nothing,
Optional aggregateOptions As AggregateOptions = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As IAsyncCursor(Of BsonDocument)
abstract List :
?name : string *
?aggregateOptions : AggregateOptions *
?cancellationToken : CancellationToken
(* Defaults:
let _name = defaultArg name null
let _aggregateOptions = defaultArg aggregateOptions null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> IAsyncCursor<BsonDocument>
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