Microsoft DirectX 8.1 (C++)

IServices::Resync

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Resync method updates the collection by requerying the database.

Syntax

HRESULT Resync();

Parameters

None.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

When items are added to or removed from the repository, collections can become out of date. Use this method to ensure that the collection contains all matching items in the database and that properties such as the count are up to date.

See Also