ITEM_METADATA_SCHEMA Structure

Represents the metadata schema for an item. This includes how to identify an item and its version information, and how change units are defined.


typedef struct _ITEM_METADATA_SCHEMA
{
  SIMPLE_SYNC_FIELD_DEFINITION *pCustomFields;
  ULONG cCustomFields;
  IDENTITY_RULE *pIdentityRules;
  ULONG cIdentityRules;
  CHANGE_UNIT_VERSION_RULE *pChangeUnitVersionRules; 
  ULONG cChangeUnitVersionRules;
} ITEM_METADATA_SCHEMA;

pCustomFields

A collection of SIMPLE_SYNC_FIELD_DEFINITION structures that each represent a custom field. Fields can be used to identify an item in the metadata or store version information about an item.

cCustomFields

The number of items in pCustomFields.

pIdentityRules

A collection of IDENTITY_RULE structures that defines the way in which an item is identified within a replica.

cIdentityRules

The number of items in pIdentityRules.

pChangeUnitVersionRules

A collection of CHANGE_UNIT_VERSION_RULE structures that represent the way in which a change unit is identified in terms of an ID and a set of fields that define a change unit's version.

cChangeUnitVersionRules

The number of items in cChangeUnitVersionRules.

Header: FullEnumerationProvider.h

Show: