Skip to content

Latest commit

 

History

History
82 lines (67 loc) · 2.89 KB

trace-element-assl.md

File metadata and controls

82 lines (67 loc) · 2.89 KB
title description ms.date ms.service ms.custom ms.topic ms.author ms.reviewer author
Trace Element (ASSL) | Microsoft Docs
Learn about the Trace object element in the Analysis Services Scripting Language (ASSL) schema.
10/31/2023
analysis-services
assl
reference
kfollis
kfollis
kfollis

Trace Element (ASSL)

Defines a trace that can be queried.

Syntax

  
      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> 
      <AutoRestart>...</AutoRestart>
      <XEvent>...</XEvent>  
      <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

Remarks

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

See Also

Server Element (ASSL)
Objects (ASSL)