Share via


Add_BCDataCacheExtensionBySizeBytes 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_BCDataCacheExtensionBySizeBytes(
  [in]  uint64                                SizeBytes,
  [in]  string                                Path,
  [in]  boolean                               PassThru,
  [in]  boolean                               Force,
  [out] MSFT_NetBranchCacheDataCacheExtension cmdletOutput
);

Parameters

SizeBytes [in]

Specifies the new size 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