MapReduceOutputOptionsReplace Method |
A replace map-reduce output options.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public static MapReduceOutputOptions Replace(
string collectionName,
string databaseName = null,
Nullable<bool> sharded = null
)
Public Shared Function Replace (
collectionName As String,
Optional databaseName As String = Nothing,
Optional sharded As Nullable(Of Boolean) = Nothing
) As MapReduceOutputOptions
static member Replace :
collectionName : string *
?databaseName : string *
?sharded : Nullable<bool>
(* Defaults:
let _databaseName = defaultArg databaseName null
let _sharded = defaultArg sharded null
*)
-> MapReduceOutputOptions
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:
MapReduceOutputOptionsA replace map-reduce output options.
See Also