Remove-LoaderDataset - Cache Loader
This enables users to remove dataset from the cache where the startup cache loader and cache refresher is enabled.
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. |
- |
remove-loaderdataset [-cachename] [-port] [-server] [-dataset] [-userid] [-password]
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. |
- |
-userid |
<String> |
Specifies the user id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user id must be the active directory user id. |
- |
-password |
<String> |
Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password. |
- |