Partilhar via


Trace Members

Provides a mechanism to store event logs which can be later viewed or replayed. This class cannot be inherited.

The following tables list the members exposed by the Trace type.

Public Constructors

  Name Description
Trace Overloaded. Initializes a new instance of the Trace class.

Top

Public Properties

(see also Protected Properties )

  Name Description
ms175335.pubproperty(en-US,SQL.90).gif Annotations  Gets the collection object of all annotations to current object. (inherited from MajorObject)
ms175335.pubproperty(en-US,SQL.90).gif Audit Gets or sets whether the Trace object can drop any events, regardless of whether this results in degraded performance on the server.
ms175335.pubproperty(en-US,SQL.90).gif AutoRestart Gets or sets whether a Trace object will automatically restart when the Microsoft SQL Server 2005 Analysis Services (SSAS) service stops and restarts.
ms175335.pubproperty(en-US,SQL.90).gif Container  (inherited from Component )
ms175335.pubproperty(en-US,SQL.90).gif CreatedTimestamp  Gets or sets the date and time of the creation of the object. (inherited from MajorObject)
ms175335.pubproperty(en-US,SQL.90).gif Description  Gets or sets a description string of current object. (inherited from MajorObject)
ms175335.pubproperty(en-US,SQL.90).gif Events Gets the collection of event objects to be captured by a Trace.
ms175335.pubproperty(en-US,SQL.90).gif ID  (inherited from NamedComponent )
ms175335.pubproperty(en-US,SQL.90).gif IsLoaded  (inherited from MajorObject )
ms175335.pubproperty(en-US,SQL.90).gif IsStarted Gets the initiation status of a Trace object.
ms175335.pubproperty(en-US,SQL.90).gif LastSchemaUpdate  Gets or sets the date and time when current object schema was last updated. (inherited from MajorObject)
ms175335.pubproperty(en-US,SQL.90).gif LogFileAppend Gets or sets whether Trace appends its logging output to the existing log file, or overwrites it.
ms175335.pubproperty(en-US,SQL.90).gif LogFileName Gets or sets the file name of the log file for the Trace object.
ms175335.pubproperty(en-US,SQL.90).gif LogFileRollover Gets or sets whether logging of Trace output will roll over to a new file, or whether it will stop when the maximum log file size that is specified in LogFileSize is reached.
ms175335.pubproperty(en-US,SQL.90).gif LogFileSize Gets or sets the maximum log file size, in megabytes.
ms175335.pubproperty(en-US,SQL.90).gif Name  (inherited from NamedComponent )
ms175335.pubproperty(en-US,SQL.90).gif OwningCollection  Gets or sets the collection that contains the ModelComponent. (inherited from ModelComponent)
ms175335.pubproperty(en-US,SQL.90).gif Parent Gets the parent Server of a Trace object. This class cannot be inherited.
ms175335.pubproperty(en-US,SQL.90).gif Site  (inherited from NamedComponent )
ms175335.pubproperty(en-US,SQL.90).gif SiteID  (inherited from NamedComponent )
ms175335.pubproperty(en-US,SQL.90).gif StopTime Gets or sets the date and time at which a Trace object should stop.

Top

Protected Properties

  Name Description
ms175335.protproperty(en-US,SQL.90).gif CanRaiseEvents  (inherited from Component )
ms175335.protproperty(en-US,SQL.90).gif DesignMode  (inherited from Component )
ms175335.protproperty(en-US,SQL.90).gif FriendlyName  (inherited from NamedComponent )
ms175335.protproperty(en-US,SQL.90).gif KeyForCollection  (inherited from NamedComponent )

Top

Public Methods

(see also Protected Methods )

  Name Description
ms175335.pubmethod(en-US,SQL.90).gif Clone Overloaded.  
ms175335.pubmethod(en-US,SQL.90).gif CopyTo Overloaded.  
ms175335.pubmethod(en-US,SQL.90).gif CreateObjRef  (inherited from MarshalByRefObject )
ms175335.pubmethod(en-US,SQL.90).gif Dispose  Overloaded. (inherited from Component )
ms175335.pubmethod(en-US,SQL.90).gif Drop  Overloaded. Removes current object and updates server. (inherited from MajorObject)
ms175335.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms175335.pubmethod(en-US,SQL.90).gif GetDependents  (inherited from MajorObject )
ms175335.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms175335.pubmethod(en-US,SQL.90).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms175335.pubmethod(en-US,SQL.90).gif GetReferences  (inherited from MajorObject )
ms175335.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms175335.pubmethod(en-US,SQL.90).gif GetUpdateOverwrites  (inherited from MajorObject )
ms175335.pubmethod(en-US,SQL.90).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms175335.pubmethod(en-US,SQL.90).gifms175335.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms175335.pubmethod(en-US,SQL.90).gif Refresh  Overloaded. Updates current object from server definitions. (inherited from MajorObject)
ms175335.pubmethod(en-US,SQL.90).gif Start Starts a Trace.
ms175335.pubmethod(en-US,SQL.90).gif Stop Stops a Trace.
ms175335.pubmethod(en-US,SQL.90).gif Submit  Overloaded. (inherited from ModelComponent )
ms175335.pubmethod(en-US,SQL.90).gif ToString  (inherited from NamedComponent )
ms175335.pubmethod(en-US,SQL.90).gif Update  Overloaded. Updates server definition of current object to the actual values using default values for update. (inherited from MajorObject)
ms175335.pubmethod(en-US,SQL.90).gif Validate  Overloaded. (inherited from NamedComponent )

Top

Protected Methods

  Name Description
ms175335.protmethod(en-US,SQL.90).gif AddToContainer  (inherited from ModelComponent )
ms175335.protmethod(en-US,SQL.90).gif AfterInsert  (inherited from ModelComponent )
ms175335.protmethod(en-US,SQL.90).gif AfterMove  (inherited from ModelComponent )
ms175335.protmethod(en-US,SQL.90).gif AfterRemove  (inherited from ModelComponent )
ms175335.protmethod(en-US,SQL.90).gif BeforeRemove  (inherited from ModelComponent )
ms175335.protmethod(en-US,SQL.90).gif Clone  Overloaded. (inherited from MajorObject )
ms175335.protmethod(en-US,SQL.90).gif CopyTo Overloaded.  
ms175335.protmethod(en-US,SQL.90).gif Dispose  Overloaded. (inherited from Component )
ms175335.protmethod(en-US,SQL.90).gif Finalize  (inherited from Component )
ms175335.protmethod(en-US,SQL.90).gif GetCreateReferences  (inherited from MajorObject )
ms175335.protmethod(en-US,SQL.90).gif GetDropDependents  (inherited from MajorObject )
ms175335.protmethod(en-US,SQL.90).gif GetService  (inherited from Component )
ms175335.protmethod(en-US,SQL.90).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )
ms175335.protmethod(en-US,SQL.90).gif RemoveFromContainer  (inherited from ModelComponent )
ms175335.protmethod(en-US,SQL.90).gif Reset  (inherited from NamedComponent )

Top

Public Events

  Name Description
ms175335.pubevent(en-US,SQL.90).gif Disposed  (inherited from Component )
ms175335.pubevent(en-US,SQL.90).gif OnEvent Assigns a certain trace event handler to an event associated with a Trace object.
ms175335.pubevent(en-US,SQL.90).gif Stopped Indicates that a Trace has stopped. This class cannot be inherited.

Top

Explicit Interface Implementations

  Name Description
Microsoft.AnalysisServices.IDeserializationStartCallback.OnDeserializationBegin  (inherited from MajorObject )
Microsoft.AnalysisServices.IMajorObject.CreateBody  
Microsoft.AnalysisServices.IMajorObject.DependsOn  
Microsoft.AnalysisServices.IMajorObject.WriteRef  
System.ICloneable.Clone  
System.IFormattable.ToString  (inherited from NamedComponent )
System.Runtime.Serialization.IDeserializationCallback.OnDeserialization  (inherited from MajorObject )
Microsoft.AnalysisServices.Hosting.IHostableComponent.Host  (inherited from ModelComponent )
Microsoft.AnalysisServices.IMajorObject.BaseType  
Microsoft.AnalysisServices.IMajorObject.ObjectReference  
Microsoft.AnalysisServices.IMajorObject.ParentDatabase  
Microsoft.AnalysisServices.IMajorObject.ParentServer  
Microsoft.AnalysisServices.IMajorObject.Path  
Microsoft.AnalysisServices.IModelComponent.FriendlyPath  (inherited from ModelComponent )
Microsoft.AnalysisServices.IModelComponent.OwningCollection  (inherited from ModelComponent )

Top

See Also

Reference

Trace Class
Microsoft.AnalysisServices Namespace