IBitsPeerCacheRecord::IsFileValidated method (bits3_0.h)

Determines whether the file has been validated.

Syntax

HRESULT IsFileValidated();

Return value

The method returns the following return values.

Return code Description
S_OK
File has been validated.
S_FALSE
File has not been validated.

Remarks

The file is available to serve after you validate the file. To validate the file, call the IBackgroundCopyFile3::SetValidationState method. The file is implicitly validated if the application calls IBackgroundCopyJob::Complete without calling SetValidationState. To remove the file from the cache after validation, see IBitsPeerCacheAdministration::DeleteUrl and IBitsPeerCacheAdministration::DeleteRecord.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header bits3_0.h (include Bits.h)
Library Bits.lib

See also

IBitsPeerCacheRecord