Click or drag to resize

MapReduceOutputOptions.Replace Method (String, String, Nullable<Boolean>)

Note: This API is now obsolete.

A replace map-reduce output options.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
[ObsoleteAttribute("Use an overload of Replace that does not have a sharded parameter instead.")]
public static MapReduceOutputOptions Replace(
	string collectionName,
	string databaseName = null,
	Nullable<bool> sharded = null
)

Parameters

collectionName
Type: System.String
The name of the collection.
databaseName (Optional)
Type: System.String
Name of the database.
sharded (Optional)
Type: System.Nullable<Boolean>
Whether the output collection should be sharded.

Return Value

Type: MapReduceOutputOptions
A replace map-reduce output options.
See Also