MapReduceOperationBase.CreateCommand Method (original) (raw)

MapReduceOperationBaseCreateCommand Method

Creates the command.

Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

protected virtual BsonDocument CreateCommand( ICoreSessionHandle session, ConnectionDescription connectionDescription )

Protected Overridable Function CreateCommand ( session As ICoreSessionHandle, connectionDescription As ConnectionDescription ) As BsonDocument

abstract CreateCommand : session : ICoreSessionHandle * connectionDescription : ConnectionDescription -> BsonDocument override CreateCommand : session : ICoreSessionHandle * connectionDescription : ConnectionDescription -> BsonDocument

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

Reference