Table of Contents

Class ListDatabasesOperation

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

Represents the listDatabases command.

[Obsolete("This class will be made internal in a later release.")]
public class ListDatabasesOperation : IReadOperation<IAsyncCursor<BsonDocument>>
Inheritance
ListDatabasesOperation
Implements
Inherited Members
Extension Methods

Constructors

ListDatabasesOperation(MessageEncoderSettings)

Initializes a new instance of the ListDatabasesOperation class.

Properties

AuthorizedDatabases

Gets or sets the AuthorizedDatabases flag.

Comment

Gets or sets the comment.

Filter

Gets or sets the filter.

MessageEncoderSettings

Gets the message encoder settings.

NameOnly

Gets or sets the NameOnly flag.

RetryRequested

Gets or sets whether or not retry was requested.

Methods

Execute(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.