Class DropIndexOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents a drop index operation.
public class DropIndexOperation : IWriteOperation<BsonDocument>
- Inheritance
-
DropIndexOperation
- Implements
- Inherited Members
- Extension Methods
Constructors
- DropIndexOperation(CollectionNamespace, BsonDocument, MessageEncoderSettings)
Initializes a new instance of the DropIndexOperation class.
- DropIndexOperation(CollectionNamespace, string, MessageEncoderSettings)
Initializes a new instance of the DropIndexOperation class.
Properties
- CollectionNamespace
Gets the collection namespace.
- Comment
Gets or sets the comment.
- IndexName
Gets the name of the index.
- MaxTime
Gets or sets the maximum time.
- 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.