Suspend-NCacheDataPersistence - PowerShell Cmdlet
This PowerShell Cmdlet enables the user to temporarily halt data persistence of the specific cache to the persistence store.
Note
This feature is only available in NCache Enterprise.
Suspend-NCacheDataPersistence [-CacheName] [-Server] [-Port]
Examples of Suspend-NCacheDataPersistence - PowerShell Cmdlet
- This PowerShell Cmdlet halts data persistence of the cache demoCache to the persistence store.
Suspend-NCacheDataPersistence -CacheName demoCache
- This PowerShell Cmdlet halts data persistence of the cache demoCache to the persistence store on the server 20.200.20.11.
Suspend-NCacheDataPersistence -CacheName demoCache -Server 20.200.20.11
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 the name of the cache to suspend persistence. It should be a running cache with persistence. | - |
-Server |
<String> |
Specifies the NCache server IPs where Cache is configured, separated by commas e.g. 20.200.20.11, 20.200.20.12. | - |
-Port |
<Integer> |
Specifies the port on which NCache server is listening. | 8250 |