Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULConnectionStringBuilder class


CacheSize property

UL Ext.: Specifies the size of the cache.

Visual Basic

Public Property CacheSize As String

public string  CacheSize  { get; set; }
Property value

A string specifying the cache size. The default is a null reference (Nothing in Visual Basic) meaning the default is used.


The values for the cache size are specified in units of bytes. Use the suffix k or K to indicate units of kilobytes and the suffix of m or M to indicate megabytes.

For example, the following sets the cache size to 128 KB.

connParms.CacheSize = "128k"

If the cache size is unspecified or improperly specified, the default size is used.

See also