IBitsPeerCacheAdministration::EnumPeers method (bits3_0.h)

Gets an IEnumBitsPeers interface pointer that you use to enumerate the peers that can serve content. The enumeration is a snapshot of the records in the cache.

Syntax

HRESULT EnumPeers(
  [out] IEnumBitsPeers **ppEnum
);

Parameters

[out] ppEnum

An IEnumBitsPeers interface pointer that you use to enumerate the peers that can serve content. Release ppEnum when done.

Return value

This method returns S_OK on success or one of the standard COM HRESULT values on error.

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

IBitsPeerCacheAdministration

IBitsPeerCacheAdministration::ClearPeers

IBitsPeerCacheAdministration::DiscoverPeers