CacheSize property

Specifies the size of the cache.

Syntax
Visual Basic

Public Property CacheSize As String
C#

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.

Remarks

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