IBitsPeerCacheAdministration::ClearPeers method (bits3_0.h)
Removes all peers from the list of peers that can serve content.
Syntax
HRESULT ClearPeers();
Return value
The method returns the following return values.
Return code | Description |
---|---|
|
Success |
Remarks
You should not have to call this method.
BITS automatically discovers new peers when a job requests content from a peer. You can also call the IBitsPeerCacheAdministration::DiscoverPeers method to force discovery of peers.
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 |