Class DropDatabaseOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents a drop database operation.
[Obsolete("This class will be made internal in a later release.")]
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.