Remove-LoaderDataset - Cache Loader
This enables users to remove dataset from the cache where the startup cache loader and cache refresher is enabled.
Note
This feature is only available in NCache Enterprise.
Remove-LoaderDataset [-CacheName] [-Port] [-Server] [-Dataset] [-Credentials]
Examples of Remove-LoaderDataset - Cache Loader
- The following command removes a dataset product from the cache named demoCache startup cache loader and cache refresher is enabled.
Remove-LoaderDataset -CacheName demoCache -Dataset "product"
- The following command removes a dataset from server 20.200.20.11 of a cache named demoCache startup cache loader and cache refresher is enabled.
Remove-LoaderDataset -CacheName demoCache -Server 20.200.20.11 -Dataset "orders"
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-CacheName* |
<String> |
Specifies name of the cache registered on the server. The dataset will be removed from this specific cache. | - |
-Port |
<Integer> |
Specifies the port on which NCache Service is listening. | 8260 |
-Server |
<String> |
Specifies the server name where NCache Service is running. | Local Machine |
-Dataset* |
<String> |
Specifies the name of the dataset that needs to be removed. | - |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user who has appropriate permissions at the node. | - |