Share via


IChangeUnitListFilterInfo Interface

Represents a filter that can be used to control which change units are included for items in an ISyncChangeBatch object.

interface IChangeUnitListFilterInfo : ISyncFilterInfo

Parameters

IChangeUnitListFilterInfo method Description

IChangeUnitListFilterInfo::Initialize

Initializes a new instance of the IChangeUnitListFilterInfo class that contains the specified array of change unit IDs.

IChangeUnitListFilterInfo::GetChangeUnitIdCount

Gets the number of change unit IDs that define the filter.

IChangeUnitListFilterInfo::GetChangeUnitId

Gets the change unit ID that is stored at the specified index in the array of change unit IDs that define the filter.

Remarks

If a provider filters the contents of a change batch that it creates, it must create a filtered ISyncChangeBatch object instead of a standard change batch object by using IProviderFilteredSyncServices::CreateFilteredEnumerationChangeBatch. The filtered change batch object contains an IChangeUnitListFilterInfo object that describes how the contents of the change batch were filtered.

Requirements

Header: Synchronization.h

See Also

Concepts

Sync Framework Core Components