Table of Contents

Class DropDatabaseOperation

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

Represents a drop database operation.

public class DropDatabaseOperation : IWriteOperation<BsonDocument>
Inheritance
DropDatabaseOperation
Implements
Inherited Members
Extension Methods

Constructors

DropDatabaseOperation(DatabaseNamespace, MessageEncoderSettings)

Initializes a new instance of the DropDatabaseOperation class.

Properties

DatabaseNamespace

Gets the database namespace.

MessageEncoderSettings

Gets the message encoder settings.

WriteConcern

Gets or sets the write concern.

Methods

Execute(IWriteBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IWriteBinding, CancellationToken)

Executes the operation.