CreateCollectionOptionsValidationAction Property |
Gets or sets the validation action.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax public DocumentValidationAction? ValidationAction { get; set; }
Public Property ValidationAction As DocumentValidationAction?
Get
Set
member ValidationAction : Nullable<DocumentValidationAction> with get, set
Property Value
Type:
NullableDocumentValidationAction
The validation action.
See Also