Remove Loader Dataset
This enables users to remove dataset from the cache where cache startup loader and cache refresher is enabled .
Remove-LoaderDataset [-CacheName] [-Port] [-Server] [-Dataset] [-Credentials]
Examples
- The following cmdlet removes a dataset product from the cache named demoCache.
Remove-LoaderDataset -CacheName demoCache -Dataset "product"
- The following cmdlet removes a dataset from server 20.200.20.11 of a cache named demoCache.
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. | - |