AggregateResult PropertiesMongoDB C# Driver API Documentation

The AggregateResult type exposes the following members.

Properties

  NameDescription
Public propertyCode
Gets the code.
(Inherited from CommandResult.)
Public propertyCommand Obsolete.
Gets the command.
(Inherited from CommandResult.)
Public propertyCommandName Obsolete.
Gets the command name.
(Inherited from CommandResult.)
Public propertyCursorId
Gets the cursor id.
Public propertyErrorMessage
Gets the error message (null if none).
(Inherited from CommandResult.)
Public propertyOk
Gets the Ok value from the response.
(Inherited from CommandResult.)
Public propertyResponse
Gets the response.
(Inherited from CommandResult.)
Public propertyResultDocuments
Gets the result documents (either the Inline results or the first batch if a cursor was used).
Public propertyServerInstance Obsolete.
Gets the server instance this command was executed on.
(Inherited from CommandResult.)
Top
See Also

Reference