Click or drag to resize

MapReduceOutputOptionsReplace Method (String, String, NullableBoolean)

Note: This API is now obsolete.

A replace map-reduce output options.

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

Parameters

collectionName
Type: SystemString
The name of the collection.
databaseName (Optional)
Type: SystemString
Name of the database.
sharded (Optional)
Type: SystemNullableBoolean
Whether the output collection should be sharded.

Return Value

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