Export (0) Print
Expand All
Expand Minimize

MaxDiskCacheSize Property

Published: June 20, 2005

MaxDiskCacheSize Property

Gets and sets the maximum size of the disk cache.

obj.MaxDiskCacheSize = integer

Part

Description

obj

An instance of the SES class.

integer

An unsigned integer that specifies the maximum disk cache size, in megabytes, for each SESWorker process.

Qualifiers

Qualifier

Value

Description

Registry

True

If True, this property value is read from the Registry.

Restart

False

Changes to this property take effect without requiring the service to restart.

DefaultValue

1024

Default value for this property.

MaxValue

1,000,000

Maximum value for this property.

Remarks

This property is exposed in the Microsoft Speech Server Management Console snap-in.

If this parameter is larger than total disk size and Speech Engine Services attempts to download more prompt databases than fit on the disk, the download operation fails and an error is logged.

Windows Management Instrumentation (WMI) Script Example

myComputer = "localhost"

' Use a Locator object to connect to WMI.
Set locator = CreateObject("WbemScripting.SWbemLocator")
Set namespace = locator.ConnectServer(myComputer, "root/MSS")

' Get the SES instance.
Set ss = namespace.Get("SES=@")

' Display the current property value.
WScript.Echo ss.MaxDiskCacheSize

' Set the property value.
ss.MaxDiskCacheSize = 1024

' Update the class instance in WMI.
ss.Put_

Member Of

SES class

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft