Export (0) Print
Expand All
Expand Minimize

Trace Element (ASSL)

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Defines a trace that can be queried.

Profiler syntax
<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>
Extended Events syntax
<Traces>
   <Trace>
      <Name>...</Name>
      <ID>...</ID>
      <Description>...</Description>
      <CreatedTimestamp>...</CreatedTimestamp>
      <LastSchemaUpdate>...</LastSchemaUpdate>
      <XEvent>...</XEvent>
      <Annotations>...</Annotations>
   </Trace>
</Traces>

Characteristic

Description

Data type and length

None

Default value

None

Cardinality

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

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft