Table of Contents

Class CreateIndexesOperation

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

Represents a create indexes operation.

public class CreateIndexesOperation : IWriteOperation<BsonDocument>
Inheritance
CreateIndexesOperation
Implements
Inherited Members
Extension Methods

Constructors

CreateIndexesOperation(CollectionNamespace, IEnumerable<CreateIndexRequest>, MessageEncoderSettings)

Initializes a new instance of the CreateIndexesOperation class.

Properties

CollectionNamespace

Gets the collection namespace.

Comment

Gets or sets the comment.

CommitQuorum

Gets or sets the commit quorum.

MaxTime

Gets or sets the MaxTime.

MessageEncoderSettings

Gets the message encoder settings.

Requests

Gets the create index requests.

WriteConcern

Gets or sets the write concern.

Methods

Execute(IWriteBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IWriteBinding, CancellationToken)

Executes the operation.