Table of Contents

Constructor DropIndexOperation

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

DropIndexOperation(CollectionNamespace, BsonDocument, MessageEncoderSettings)

Initializes a new instance of the DropIndexOperation class.

public DropIndexOperation(CollectionNamespace collectionNamespace, BsonDocument keys, MessageEncoderSettings messageEncoderSettings)

Parameters

collectionNamespace CollectionNamespace

The collection namespace.

keys BsonDocument

The keys.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.

DropIndexOperation(CollectionNamespace, string, MessageEncoderSettings)

Initializes a new instance of the DropIndexOperation class.

public DropIndexOperation(CollectionNamespace collectionNamespace, string indexName, MessageEncoderSettings messageEncoderSettings)

Parameters

collectionNamespace CollectionNamespace

The collection namespace.

indexName string

The name of the index.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.