Try Playground
Show / Hide Table of Contents

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.

  • Windows PowerShell
  • Linux CLI
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. -
remove-clientcacherefdatatype -cachename [-datatype] [-nologo] [-port] [-server] [-userid] [-password]

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 -userid john_smith -password pass123

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. -
-user id <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. -

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top