Remove-CompactType
Note
This feature is only available in NCache Enterprise Edition.
Remove-CompactType
cmdlet enables the users to remove the objects which are
already defined as serializable.
Remove-CompactType [-CacheName] [-Class] [-NoLogo] [-Password] [-Port] [-Server] [-UserId]
These properties are explained in detail in the Properties section.
Examples
- This command removes the compact serializable class 'Customers' from the cache configuration of a cache named demoCache.
Remove-CompactType -CacheName demoCache -Class Data.Customer
- This command removes the compact serializable class Customers from the cache configuration of a cache named demoCache on server node '20.200.20.11'.
Remove-CompactType demoCache -Class Data.Customer –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 for which data sharing is to be disabled. | - |
-Class |
<String> |
Specifies the class which needs to be removed from compact serialization. | - |
-Server |
<String> |
Specifies the NCache server name where the NCache service is running. | - |
-Port |
<Integer> |
Specifies the server port where NCache server is listening. | 8250 |
-UserId (Enterprise edition only) |
<String> |
Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials. | - |
-Password (Enterprise edition only) |
<String> |
Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |