Share via


MSFT_NetBranchCacheClientSettingData class

Describes settings related to the BranchCache client role

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider("NetPeerDist")]
class MSFT_NetBranchCacheClientSettingData : MSFT_NetBranchCacheSettingData
{
  string  CurrentClientMode;
  uint16  PreferredContentInformationVersion;
  boolean DistributedCachingIsEnabled;
  boolean ServeDistributedCachingPeersOnBatteryPower;
  string  HostedCacheServerName;
  uint16  HostedCacheVersion;
  uint32  MinimumSMBLatencyInMilliseconds;
};

Members

The MSFT_NetBranchCacheClientSettingData class has these types of members:

Properties

The MSFT_NetBranchCacheClientSettingData class has these properties.

CurrentClientMode

Data type: string

Access type: Read-only

The current operating mode of this BranchCache client

Disabled (0)

LocalCache (1)

DistributedCache (2)

HostedCache (3)

DistributedCachingIsEnabled

Data type: boolean

Access type: Read-only

Indicates if Distributed Caching is enabled

HostedCacheServerName

Data type: string

Access type: Read-only

Hosted cache servers to which this client will connect

HostedCacheVersion

Data type: uint16

Access type: Read-only

The version of the hosted cache server

MinimumSMBLatencyInMilliseconds

Data type: uint32

Access type: Read-only

The minimum network latency, in milliseconds, before the SMB client will use BranchCache

PreferredContentInformationVersion

Data type: uint16

Access type: Read-only

The content information version this client will request from content servers

ServeDistributedCachingPeersOnBatteryPower

Data type: boolean

Access type: Read-only

Indicates if this client will serve other distributed caching peers when operating on battery power

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\StandardCIMV2
MOF
NetPeerDistCim.mof
DLL
NetPeerDistCim.dll