Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Adds an ITEM_METADATA_SCHEMA object that represents the metadata schema for an item. This includes how to identify an item and its version information, and how change units are defined.
Syntax
HRESULT AddItemMetadataSchema(
const ITEM_METADATA_SCHEMA *pItemMetadataSchema);
Parameters
- pItemMetadataSchema
[in] An ITEM_METADATA_SCHEMA object that represents the metadata schema for an item.
Return Value
S_OK
SYNC_E_PFX_METADATA_STORE_VERSION2_REQUIRED when the provider requires a metadata store component of version 2 or later
SYNC_E_PFX_INVALID_OPERATION when the simple provider already has a schema defined or the simple provider requires that this method be called only in ISimpleSyncProvider::GetMetadataSchema