Compartilhar via


Add_BCDataCacheExtensionByPercentage method of the MSFT_NetBranchCacheOrchestrator class

Adds a new republication cache file to increase the amount of storage available on a hosted cache server.

Syntax

uint32 Add_BCDataCacheExtensionByPercentage(
  [in]  uint32  Percentage,
  [in]  string  Path,
  [in]  boolean PassThru,
  [in]  boolean Force,
  [out] string  cmdletOutput
);

Parameters

Percentage [in]

Specifies the new size (in terms of disk percentage) of this cache file.

Path [in]

Specifies the cache file to operate on.

PassThru [in]

Indicates that the method should output an object that represents the newly created cache extension in the CmdletOutput parameter.

Force [in]

Indicates the operation should not prompt for confirmation.

cmdletOutput [out]

Receives a MSFT_NetBranchCacheDataCacheExtension object that represents the newly created cache extension.

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