Cache.scope
Property Description |
The availability of the cache to other scripts. Set this value using the cache.Scope enum. |
Type |
|
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2016.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/cache Module Script Samples.
//Add additional code
...
var myCache = cache.getCache({
name: 'temporaryCache',
scope: cache.Scope.PRIVATE // Cache.scope
});
...
//Add additional code