共用方式為


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 協助