Property DropTarget
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
DropTarget
Gets or sets a value indicating whether to drop the target collection first if it already exists.
public bool? DropTarget { get; set; }
Property Value
- bool?
true
if the target collection should be dropped first if it already exists.; otherwise,false
.