Share via


SYNC_METADATA_FIELD_TYPE Enumeration

Represents the data type of a custom field.

typedef enum
{
  SYNC_METADATA_FIELD_TYPE_NOTYPE = 0,
  SYNC_METADATA_FIELD_TYPE_BYTEARRAY = 1,
  SYNC_METADATA_FIELD_TYPE_STRING = 2,
  SYNC_METADATA_FIELD_TYPE_UINT8 = 3,
  SYNC_METADATA_FIELD_TYPE_UINT16 = 4,
  SYNC_METADATA_FIELD_TYPE_UINT32 = 5,
  SYNC_METADATA_FIELD_TYPE_UINT64 = 6,
  SYNC_METADATA_FIELD_TYPE_GUID = 7
} SYNC_METADATA_FIELD_TYPE;

Members

  • SYNC_METADATA_FIELD_TYPE_NOTYPE
    No data type is defined. This is the default value. It is an error to set a field to this type.
  • SYNC_METADATA_FIELD_TYPE_BYTEARRAY
    A variable-length array of bytes. The maximum length is specified in the field definition.
  • SYNC_METADATA_FIELD_TYPE_STRING
    A variable-length Unicode string. The maximum length is specified in the field definition. The metadata storage service treats string fields as case-insensitive and accent-sensitive. The provider must normalize the strings, if needed, before storing them.
  • SYNC_METADATA_FIELD_TYPE_UINT8
    An 8-bit unsigned integer.
  • SYNC_METADATA_FIELD_TYPE_UINT16
    A 16-bit unsigned integer.
  • SYNC_METADATA_FIELD_TYPE_UINT32
    A 32-bit unsigned integer.
  • SYNC_METADATA_FIELD_TYPE_UINT64
    A 64-bit unsigned integer.
  • SYNC_METADATA_FIELD_TYPE_GUID
    A GUID.

Requirements

Header: Metastore.h

See Also

Concepts

Sync Framework Metadata Storage Service Components