UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:bits3_0.IBitsPeerCacheAdministration.GetConfigurationFlags |
IBitsPeerCacheAdministration::GetConfigurationFlags (bits3_0.h) |
Gets the configuration flags that determine if the computer serves content to peers and can download content from peers. |
|
bits\ibitspeercacheadministration_getconfigurationflags.htm |
Bits |
caa54ee0-c771-47e7-95d1-26a812f0f95f |
12/05/2018 |
BG_ENABLE_PEERCACHING_CLIENT, BG_ENABLE_PEERCACHING_SERVER, GetConfigurationFlags, GetConfigurationFlags method [BITS], GetConfigurationFlags method [BITS],IBitsPeerCacheAdministration interface, IBitsPeerCacheAdministration interface [BITS],GetConfigurationFlags method, IBitsPeerCacheAdministration.GetConfigurationFlags, IBitsPeerCacheAdministration::GetConfigurationFlags, bits.ibitspeercacheadministration_getconfigurationflags, bits3_0/IBitsPeerCacheAdministration::GetConfigurationFlags |
bits3_0.h |
Bits.h |
Windows |
Windows Vista |
Windows Server 2008 |
Bits3_0.idl |
Bits.lib |
Windows |
19H1 |
|
|
|
|
|
|
Gets the configuration flags that determine if the computer serves content to peers and can download content from peers.
Flags that determine if the computer serves content to peers and can download content from peers. The following flags can be set:
Value | Meaning |
---|---|
|
The computer can download content from peers. |
|
The computer can serve content to peers. |
The method returns the following return values.
Return code | Description |
---|---|
|
Success |
BITS can download from peers only if peercaching is enabled both at the computer level and at the job level; this API affects only the computer level. For details, see IBitsPeerCacheAdministration::SetConfigurationFlags.
Peer caching could have been enabled by Group Policy or by calling the IBitsPeerCacheAdministration::SetConfigurationFlags method.