次の方法で共有


Enable_BCHostedClientByServerNames method of the MSFT_NetBranchCacheOrchestrator class

Configures BranchCache to operate in hosted cache client mode.

Syntax

uint32 Enable_BCHostedClientByServerNames(
  [in] string  ServerNames[],
  [in] uint32  UseVersion,
  [in] string  PolicyStore,
  [in] boolean Force
);

Parameters

ServerNames [in]

Names of the hosted cache servers to use.

UseVersion [in]

Version of the offer protocol to use when contacting this hosted cache server.

PolicyStore [in]

Path to the group policy object that should be modified by this cmdlet.

Force [in]

Indicates the operation should not prompt for confirmation

Requirements

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

See also

MSFT_NetBranchCacheOrchestrator