MapReduceLegacyOperation Class | 
Note: This API is now obsolete.
Namespace: MongoDB.Driver.Core.Operations
The MapReduceLegacyOperation type exposes the following members.
| Name | Description | |
|---|---|---|
| MapReduceLegacyOperation | 
            Initializes a new instance of the MapReduceLegacyOperation class.
              | 
| Name | Description | |
|---|---|---|
| Collation | 
            Gets or sets the collation.
              (Inherited from MapReduceOperationBase.) | |
| CollectionNamespace | 
            Gets the collection namespace.
              (Inherited from MapReduceOperationBase.) | |
| Filter | 
            Gets or sets the filter.
              (Inherited from MapReduceOperationBase.) | |
| FinalizeFunction | 
            Gets or sets the finalize function.
              (Inherited from MapReduceOperationBase.) | |
| JavaScriptMode |  Obsolete.  
            Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects.
              (Inherited from MapReduceOperationBase.) | |
| Limit | 
            Gets or sets the maximum number of documents to pass to the map function.
              (Inherited from MapReduceOperationBase.) | |
| MapFunction | 
            Gets the map function.
              (Inherited from MapReduceOperationBase.) | |
| MaxTime | 
            Gets or sets the maximum time the server should spend on this operation.
              (Inherited from MapReduceOperationBase.) | |
| MessageEncoderSettings | 
            Gets the message encoder settings.
              (Inherited from MapReduceOperationBase.) | |
| ReadConcern | 
            Gets or sets the read concern.
              | |
| ReduceFunction | 
            Gets the reduce function.
              (Inherited from MapReduceOperationBase.) | |
| Scope | 
            Gets or sets the scope document.
              (Inherited from MapReduceOperationBase.) | |
| Sort | 
            Gets or sets the sort specification.
              (Inherited from MapReduceOperationBase.) | |
| Verbose | 
            Gets or sets a value indicating whether to include extra information, such as timing, in the result.
              (Inherited from MapReduceOperationBase.) | 
| Name | Description | |
|---|---|---|
| CreateCommand | 
            Creates the command.
              (Overrides MapReduceOperationBaseCreateCommand(ICoreSessionHandle, ConnectionDescription).) | |
| CreateOutputOptions | 
            Creates the output options.
              (Overrides MapReduceOperationBaseCreateOutputOptions.) | |
| Equals | Determines whether the specified object is equal to the current object.  (Inherited from Object.) | |
| Execute | 
            Executes the operation.
              | |
| ExecuteAsync | 
            Executes the operation.
              | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function.   (Inherited from Object.) | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object.  (Inherited from Object.) | |
| ToString | Returns a string that represents the current object.  (Inherited from Object.) | 
| Name | Description | |
|---|---|---|
| ExecuteBsonDocument | 
            Executes a read operation using a channel source.
              (Defined by OperationExtensionMethods.) | |
| ExecuteAsyncBsonDocument | 
            Executes a read operation using a channel source.
              (Defined by OperationExtensionMethods.) | |
| ToBson | 
            Serializes an object to a BSON byte array.
              (Defined by BsonExtensionMethods.) | |
| ToBsonDocument | 
            Serializes an object to a BsonDocument.
              (Defined by BsonExtensionMethods.) | |
| ToJson | 
            Serializes an object to a JSON string.
              (Defined by BsonExtensionMethods.) |