TraceEventCollection.Item 屬性 (TraceEventClass)
Gets the TraceEvent that has the specified TraceEventClass value from the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
eventId As TraceEventClass _
) As TraceEvent
Get
'用途
Dim instance As TraceEventCollection
Dim eventId As TraceEventClass
Dim value As TraceEvent
value = instance(eventId)
public TraceEvent this[
TraceEventClass eventId
] { get; }
public:
property TraceEvent^ default[TraceEventClass eventId] {
TraceEvent^ get (TraceEventClass eventId);
}
member Item : TraceEvent
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- eventId
型別:Microsoft.AnalysisServices.TraceEventClass
The TraceEventClass value of the TraceEvent to return.
屬性值
型別:Microsoft.AnalysisServices.TraceEvent
The TraceEvent that has the specified TraceEventClass value.