共用方式為


Trace Class

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

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<XmlRootAttribute(Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
<GuidAttribute("6418C2E4-B678-46c3-8762-DC344F549317")> _
Public NotInheritable Class Trace
    Inherits MajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ITrace, ICloneable
[XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
[GuidAttribute("6418C2E4-B678-46c3-8762-DC344F549317")] 
public sealed class Trace : MajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ITrace, ICloneable
[XmlRootAttribute(Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
[GuidAttribute(L"6418C2E4-B678-46c3-8762-DC344F549317")] 
public ref class Trace sealed : public MajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ITrace, ICloneable
/** @attribute XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
/** @attribute GuidAttribute("6418C2E4-B678-46c3-8762-DC344F549317") */ 
public final class Trace extends MajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ITrace, ICloneable
XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
GuidAttribute("6418C2E4-B678-46c3-8762-DC344F549317") 
public final class Trace extends MajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ITrace, ICloneable

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.AnalysisServices.ModelComponent
         Microsoft.AnalysisServices.NamedComponent
           Microsoft.AnalysisServices.MajorObject
            Microsoft.AnalysisServices.Trace

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Trace Members
Microsoft.AnalysisServices Namespace