SystemParameters.CacheSize 属性

获取或设置以页为单位的数据库缓存的大小。 默认情况下,数据库缓存会自动调整其大小,将此属性设置为非零值将导致缓存自行调整为目标大小。

Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

'Declaration
Public Shared Property CacheSize As Integer
    Get
    Set
'Usage
Dim value As Integer

value = SystemParameters.CacheSize

SystemParameters.CacheSize = value
public static int CacheSize { get; set; }

属性值

类型: System.Int32

另请参阅

参考

SystemParameters 类

SystemParameters 成员

Microsoft.Isam.Esent.Interop 命名空间