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
CollectionNamespaceThe collection namespace.
keys
BsonDocumentThe keys.
messageEncoderSettings
MessageEncoderSettingsThe 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
CollectionNamespaceThe collection namespace.
indexName
stringThe name of the index.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.