IndexSchema Class

Represents a single or multicolumn index that can be used to more efficiently find items that are in the metadata store.

System.Object
  Microsoft.Synchronization.MetadataStorage.IndexSchema

Namespace:  Microsoft.Synchronization.MetadataStorage
Assembly:  Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)

public class IndexSchema

The IndexSchema type exposes the following members.

  NameDescription
Public methodIndexSchema(IEnumerable<String>, Boolean)Initializes a new instance of the IndexSchema class that contains the specified list of indexed field names and a value that indicates whether the index schema uniquely defines an item.
Public methodIndexSchema(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.
Top

  NameDescription
Public propertyFieldNamesGets the list of field names that defines this index.
Public propertyIsUniqueGets a value that indicates whether this index schema uniquely identifies an item.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

This index can be defined as unique to make sure that the index defines a single item.

The index schema is defined when the metadata is initialized for the replica by using MetadataStore.InitializeReplicaMetadata. The fields that are contained in the index schema must also exist in the custom field schema that is defined for the replica.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: