Click or drag to resize

MapReduceOperationBaseCreateCommand Method

Creates the command.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax
protected virtual 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