Table of Contents

Method Execute

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Execute()

Executes the bulk operation using the default write concern from the collection.

public BulkWriteResult<TDocument> Execute()

Returns

BulkWriteResult<TDocument>

A BulkWriteResult.

Execute(WriteConcern)

Executes the bulk operation.

public BulkWriteResult<TDocument> Execute(WriteConcern writeConcern)

Parameters

writeConcern WriteConcern

The write concern for this bulk operation.

Returns

BulkWriteResult<TDocument>

A BulkWriteResult.