Sdílet prostřednictvím


IFilteredReplicaNotifyingChangeApplierTarget::GetNewMoveins

Returns a list of item IDs that identify the items that are in the filter and are not contained in the specified knowledge.

HRESULT GetNewMoveins(
  ISyncKnowledge  *  pBaseKnowledge,
  IEnumItemIds   ** pEnumItemIds);

Parameters

  • pBaseKnowledge
    [in] The returned list of item IDs identifies items that are in the filter and are not contained in this knowledge.
  • pEnumItemIds
    [out] Returns a list of item IDs that identify the items that are in the filter and are not contained in pBaseKnowledge.

Return Value

  • S_OK.

  • Provider-determined error codes.

Remarks

This method is used by the change applier to determine which items have moved into the filter after the knowledge specified by pBaseKnowledge was recorded. For example, a replica that stores media files is filtered to only store data for files that are rated as three stars or better. A file is rated as two stars when pBaseKnowledge is recorded. The user changes the rating on the file to four stars. The file has moved into the filter and must be included in the list that is returned from this method.

See Also

Reference

IFilteredReplicaNotifyingChangeApplierTarget Interface