共用方式為


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