RolloverTime Property
RolloverTime Property
Gets and sets an unsigned integer that represents the time interval, in minutes, after which the current trace log session begins capturing data to a new file.
LogSettings.RolloverTime = integer
Part |
Description |
---|---|
integer |
Unsigned integer that specifies the time interval, in minutes, after which the current trace log session begins capturing data to a new file. |
Qualifiers
Qualifier |
Value |
Description |
---|---|---|
Restart |
False |
After changes to this property value, the service does not need to restart to implement the changes. |
DefaultValue |
60 |
Default value for this property. |
MaxValue |
1440 |
The maximum interval of rollover. It is equal to the number of minutes in a day. |
Remarks
This property is exposed in the Microsoft Speech Server Management Console snap-in.
The default time interval of the RolloverTime property is sixty minutes. A value of zero specifies no rollover behavior at all. The maximum value must not be greater than the number of minutes in a day, that is, 1440.
Windows Management Instrumentation (WMI) Script Example
The following WMI script sets the RolloverTime to 60 minutes.
Set logsettings = GetObject("winmgmts:root\MSS:LogSettings=@") logsettings.RolloverTime = 60 logsettings.Put_