IExplainableOperationCreateCommand Method |
Creates the command to be explained.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax BsonDocument CreateCommand(
ConnectionDescription connectionDescription,
ICoreSession session
)
Function CreateCommand (
connectionDescription As ConnectionDescription,
session As ICoreSession
) As BsonDocument
abstract CreateCommand :
connectionDescription : ConnectionDescription *
session : ICoreSession -> BsonDocument
Parameters
- connectionDescription
- Type: MongoDB.Driver.Core.ConnectionsConnectionDescription
The connection description. - session
- Type: MongoDB.Driver.Core.BindingsICoreSession
The session.
Return Value
Type:
BsonDocumentThe command.
See Also