Table of Contents

Property Unique

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

Unique

Gets or sets a value indicating whether the index enforces the uniqueness of the key values.

public bool? Unique { get; set; }

Property Value

bool?

A value indicating whether the index enforces the uniqueness of the key values.