Cmdlets for Sage Business Cloud Accounting

Build 24.0.9060

CacheLocation Parameter (Connect-SageBCAccounting Cmdlet)

Specifies the path to the cache when caching to a file.

Syntax

Connect-SageBCAccounting -CacheLocation string

Data Type

cstr

Default Value

"%APPDATA%\\CData\\SageBCAccounting Data Provider"

Remarks

The CacheLocation is a simple, file-based cache. The cmdlet uses SQLite.

If left unspecified, the default location is "%APPDATA%\\CData\\SageBCAccounting Data Provider" with %APPDATA% being set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Mac ~/.config
Linux ~/.config

See Also

  • AutoCache: Set to implicitly create and maintain a cache for later offline use.
  • CacheMetadata: Set to persist the Sage Business Cloud Accounting catalog in CacheLocation.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060