Remove-ClientCacheRefDataType - PowerShell Cmdlet
This PowerShell cmdlet enables users to remove pre-configured reference datatypes for Full-Data Client Cache.
Note
This feature is only available in NCache Enterprise.
Remove-ClientCacheRefDataType -CacheName [-Datatype] [-NoLogo] [-Port] [-Server] [-Credentials]
Examples of Remove-ClientCacheRefDataType - PowerShell Cmdlet
- This command removes the class Data.Customer as reference data type for Full-Data Client Cache configured in the specified cache on the local server.
Remove-ClientCacheRefDataType -CacheName demoCache -Datatype Data.Customer
- This command removes the classes Data.Customer and Data.Product as reference data types for Full-Data Client Cache configured in the specified cache on the server 20.200.20.11.
Remove-ClientCacheRefDataType -CacheName demoCache -Datatype Data.Customer'$'Data.Product -Server 20.200.20.11
- This command removes the class Data.Customer as reference data type for Full-Data Client Cache configured in the specified cache on the local server using security credentials.
Remove-ClientCacheRefDataType -CacheName demoCache -Datatype Data.Customer -Credentials (Get-Credential john_smith)
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 clustered cache where the Full-Data Client Cache is configured. | - |
-Datatype |
<String> |
Specifies the names of the reference data types configured for Full-Data Client Cache. Multiple data types should be '$' separated e.g., Data.Customer'$'Data.Product. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Port |
<Integer> |
Specifies the server port where NCache Service is listening. | 9803 |
-Server |
<String> |
Specifies the clustered cache that the client cache is associated with. | - |
-Credentials |
<pscredential> |
Specifies the user credentials used to authorize the user for this operation. It is required in case security is enabled on cache server. The password must be the same as the active directory user password. The user id must be the same as the active directory user id. | - |