Table of Contents

Property Unique

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Unique

Gets or sets whether the index entries must be unique, which currently must be true.

public bool Unique { get; set; }

Property Value

bool