IBitsPeerCacheAdministration::DeleteRecord method (bits3_0.h)
Deletes a record and file from the cache. This method uses the record's identifier to identify the record to delete.
Syntax
HRESULT DeleteRecord(
[in] REFGUID id
);
Parameters
[in] id
Identifier of the record to delete from the cache. The IBitsPeerCacheRecord::GetId method returns the identifier.
Return value
The method returns the following return values.
| Return code | Description |
|---|---|
|
Success |
|
The cache record is in use and cannot be changed or deleted. Try again after a few seconds. |
Remarks
The cache record is not removed until all current activity with the cache record is complete.
Requirements
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | bits3_0.h (include Bits.h) |
| Library | Bits.lib |