IBitsPeerCacheAdministration::DeleteUrl method (bits3_0.h)
Deletes all cache records and the file from the cache for the given URL.
Syntax
HRESULT DeleteUrl(
[in] LPCWSTR url
);
Parameters
[in] url
Null-terminated string that contains the URL of the file whose cache records and file you want to delete from the cache.
Return value
The method returns the following return values.
Return code | Description |
---|---|
|
Success |
|
The URL does not exist. |
|
The cache record is in use and cannot be changed or deleted. Try again after a few seconds. |
Remarks
The cache records for the file are not removed until all current activity with the cache records is complete.
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 |