共用方式為


Trace.Events Property

Gets the collection of event objects to be captured by a Trace.

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

語法

'宣告
<BrowsableAttribute(False)> _
<XmlArrayItemAttribute("Event", GetType(TraceEvent))> _
<XmlArrayAttribute> _
Public ReadOnly Property Events As TraceEventCollection
[BrowsableAttribute(false)] 
[XmlArrayItemAttribute("Event", typeof(TraceEvent))] 
[XmlArrayAttribute] 
public TraceEventCollection Events { get; }
[BrowsableAttribute(false)] 
[XmlArrayItemAttribute(L"Event", typeof(TraceEvent))] 
[XmlArrayAttribute] 
public:
property TraceEventCollection^ Events {
    TraceEventCollection^ get ();
}
/** @property */
public TraceEventCollection get_Events ()
public function get Events () : TraceEventCollection

屬性值

A TraceEventCollection that contains the collection of event objects to be captured by a 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 Class
Trace Members
Microsoft.AnalysisServices Namespace