Export (0) Print
Expand All

IBitsPeer::IsAvailable method

Determines whether the peer is available (online) to serve content.

Syntax


HRESULT IsAvailable(
  [out]  BOOL *pAvailable
);

Parameters

pAvailable [out]

TRUE if the peer is available to serve content, otherwise, FALSE.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

 

Remarks

If this peer goes offline while BITS is downloading content from it, BITS immediately begins downloading from the origin server.

If the peer stays offline for an extended period of time, BITS removes the peer from the neighborhood.

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

IBitsPeer

 

 

Community Additions

ADD
Show:
© 2015 Microsoft