Table of Contents

Class DropCollectionOperation

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

Represents a drop collection operation.

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

Constructors

DropCollectionOperation(CollectionNamespace, MessageEncoderSettings)

Initializes a new instance of the DropCollectionOperation class.

Properties

CollectionNamespace

Gets the collection 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.