Udostępnij za pośrednictwem


ISimpleSyncServices::Initialize

Initializes an ISimpleSyncServices object with metadata and replica information.

HRESULT Initialize(
  ISyncMetadataStore *pMetadataStore,
  BYTE *pbReplicaId,
  ID_PARAMETERS *pIdParameters,
  ULONG ulLCID
  USHORT vCurrentProviderVersion);

Parameters

  • pMetadataStore
    [in] An ISyncMetadataStore object that represents a metadata store for the specified replica.
  • pIdParameters
    [in] An ID_PARAMETERS Structure object that represents the format schema for the group of IDs that are used to identify entities in a synchronization session.
  • ulLCID
    [in] The locale ID that represents the culture that is used for string comparisons.
  • vCurrentProviderVersion
    [in] The version of the simple provider.

Return Value

  • S_OK

See Also

Reference

ISimpleSyncServices Interface