ITEM_METADATA_SCHEMA 結構
表示項目的項目的中繼資料結構描述。這包括如何識別項目及其版本資訊,以及變更單位的定義方式。
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
SIMPLE_SYNC_FIELD_DEFINITION 結構的集合,其中每個各自代表一個自訂欄位。欄位可以用於識別中繼資料中的項目或儲存項目的相關版本資訊。
- cCustomFields
pCustomFields 中的項目數目。
- pIdentityRules
IDENTITY_RULE 結構的集合,這個集合會定義用來在複寫中識別項目的方式。
- cIdentityRules
pIdentityRules 中的項目數目。
- pChangeUnitVersionRules
CHANGE_UNIT_VERSION_RULE 結構的集合,這些結構代表用來根據識別碼以及定義變更單位版本的一組欄位識別變更單位的方式。
- cChangeUnitVersionRules
cChangeUnitVersionRules 中的項目數目。
需求
**標頭:**FullEnumerationProvider.h