IndexSchema Constructor (String, Boolean)
Initializes a new instance of the IndexSchema class that has the specified indexed field name and a value that indicates whether this index schema uniquely defines an item.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Parameters
- fieldName
- Type: System::String
The indexed field name.
- isUnique
- Type: System::Boolean
true if this index schema uniquely identifies an item; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | fieldName is a nullptr. |
| ArgumentException | fieldName is 0 length. |
Show: