Location Property

Location Property

Gets and sets a string value that specifies the location of Event Trace Log (.etl) files for Microsoft Speech Server (MSS).

LogSettings.Location = string

Part

Description

string

Specifies the location of Event Trace Log (.etl) files for MSS.

Qualifiers

Qualifier

Value

Description

Restart

False

After changes to this property value, the service does not need to restart to implement the changes.

Replicate

False

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

DefaultValue

C:\Program Files\Microsoft Speech Server\Logs

Default value for this property.

Remarks

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

The actual name of a newly-created log file is derived from the date/time stamp of the file at creation time.

Windows Management Instrumentation (WMI) Script Example

The following WMI script retrieves the instance of the LogSettings class and displays the location of the log files on the screen.

Set logsettings = GetObject("winmgmts:root\MSS:LogSettings=@")
WScript.Echo logsettings.location

Member Of

LogSettings class