Поделиться через


LogFileRollover Element (ASSL)

Specifies whether logging of Trace output should roll over to a new file or should stop when the maximum log file size that is specified in LogFileSize is reached.

Синтаксис

<Trace>
   ...
   <LogFileRollover>...</LogFileRollover>
   ...
</Trace>

Element Characteristics

Characteristic Description

Data type and length

Boolean

Default value

False

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent element

Trace

Child elements

None

Замечания

If the value of the LogFileRollover element is set to True, a new file is started when the size of the log file exceeds the value that is specified in the LogFileSize element of the Trace parent element; otherwise, logging stops.

The element that corresponds to the parent of LogFileRollover in the Analysis Management Objects (AMO) object model is Trace.

См. также

Справочник

Traces Element (ASSL)
Properties (ASSL)

Справка и поддержка

Получение помощи по SQL Server 2005