Share via


IndexSchema Class

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

Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)

Syntax

'Declaration
Public Class IndexSchema
'Usage
Dim instance As IndexSchema
public class IndexSchema
public ref class IndexSchema
public class IndexSchema
public class IndexSchema

Remarks

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.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.MetadataStorage.IndexSchema

Thread Safety

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

See Also

Reference

IndexSchema Members
Microsoft.Synchronization.MetadataStorage Namespace