Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Speech Server 2004

Published: June 20, 2005

DiskCacheLocation Property

Gets and sets the path to the folder where prompt databases are cached.

obj.DiskCacheLocation = string

Part

Description

obj

An instance of the SES class.

string

A string that specifies the path to the folder where prompt databases are cached.

Qualifiers

Qualifier

Value

Description

Registry

True

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

Replicate

False

If True, this property is replicated, otherwise it is not.

Restart

True

After changes to this property value, the service must restart before the changes are implemented.

DefaultValue

""

Default value for this property.

Remarks

This property is not exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC). Values that do not appear in the MMC are generally more advanced configuration options, changeable only through VBScript. Changes to these settings should be tested in a safe environment before implementing them on live production servers. Changing these settings can cause extensive changes to the entire system.

If not specified, Speech Engine Services uses the path %TEMP%\CachedPromptDatabases as the default location. If a folder is specified and does not exist, the server creates it. All the files within that folder are considered part of the cache and may be deleted as part of cache maintenance.

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 value.
WScript.Echo ss.DiskCacheLocation

' Set the property value.
ss.DiskCacheLocation = "%TEMP%\CachedPromptDatabases"

' Update the class instance in WMI.
ss.Put_

Member Of

SES class

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.