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

Enabled Property

Published: June 20, 2005

Enabled Property

Gets and sets a Boolean value that, if true, begins an event trace session immediately and persists the Enabled setting so that trace sessions are immediately started at every subsequent system startup.

LogSettings.Enabled = Boolean

Part

Description

Boolean

True if the LogSettings class is enabled; False if it is not.

Qualifiers

Qualifier

Value

Description

Restart

False

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

DefaultValue

False

Default value for this property.

Remarks

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

The default value for the Enabled property is False.

Windows Management Instrumentation (WMI) Script Example

The following WMI script sets the Enabled to true, that is, turns on trace logging.

Set logsettings = GetObject("winmgmts:root\MSS:LogSettings=@")

logsettings.Enabled = true
logsettings.Put_

Member Of

LogSettings class

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