Method Replace
Replace(string, string, bool?)
A replace map-reduce output options.
[Obsolete("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
collectionNamestringThe name of the collection.
databaseNamestringName of the database.
shardedbool?Whether the output collection should be sharded.
Returns
- MapReduceOutputOptions
A replace map-reduce output options.
Replace(string, string)
A replace map-reduce output options.
public static MapReduceOutputOptions Replace(string collectionName, string databaseName)
Parameters
Returns
- MapReduceOutputOptions
A replace map-reduce output options.