Export (0) Print
Expand All

IBitsPeerCacheAdministration::DiscoverPeers method

Generates a list of peers that can serve content.

Syntax


HRESULT DiscoverPeers();

Parameters

This method has no parameters.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

 

Remarks

You should not have to call this method.

BITS automatically discovers new peers when a job requests content from a peer and there are not enough peers in the client's peer list. Peers must be in the same Windows domain and subnet as the client and be enabled to serve content to peers.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Bits3_0.h (include Bits.h)

IDL

Bits3_0.idl

Library

Bits.lib

See also

IBitsPeerCacheAdministration
IBitsPeerCacheAdministration::ClearPeers
IBitsPeerCacheAdministration::EnumPeers

 

 

Community Additions

ADD
Show:
© 2014 Microsoft