Trace Element (ASSL)

Defines a trace that can be queried.

语法

<Traces>
   <Trace>
      <Name>...</Name>
      <ID>...</ID>
      <Description>...</Description>
      <CreatedTimestamp>...</CreatedTimestamp>
      <LastSchemaUpdate>...</LastSchemaUpdate>
      <LogFileName>...</LogFileName>
            <LogFileAppend>...</LogFileAppend>
            <LogFileSize>...</LogFileSize>
      <Audit>...</Audit>
            <LogFileRollover>...</LogFileRollover>
      <AutoRestart>...</AutoRestart>
      <StopTime>...</StopTime>
      <Filter>...</Filter>
            <Events>...</Events>
      <Annotations>...</Annotations>
...</Trace>
</Traces>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur more than once.

Element Relationships

Relationship Element

Parent elements

Traces

Child elements

Annotations, Audit, AutoRestart, CreatedTimestamp, Description, Events, Filter, ID, LastSchemaUpdate, LogFileAppend, LogFileName, LogFileRollover, LogFileSize, Name, StopTime

备注

The corresponding element in the Analysis Management Objects (AMO) object model is Trace.

请参阅

参考

Server Element (ASSL)
Objects (ASSL)

帮助和信息

获取 SQL Server 2005 帮助