Click or drag to resize

MapReduceLegacyOperationCreateCommand Method

Creates the command.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
protected override BsonDocument CreateCommand(
	ICoreSessionHandle session,
	ConnectionDescription connectionDescription
)

Parameters

session
Type: MongoDB.Driver.Core.BindingsICoreSessionHandle
The session.
connectionDescription
Type: MongoDB.Driver.Core.ConnectionsConnectionDescription
The connection description.

Return Value

Type: BsonDocument
The command.
See Also