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 支持使用索引属性,但不支持声明新索引属性。

属性值

类型:Microsoft.AnalysisServices. . :: . .TraceEvent
The TraceEvent that has the specified TraceEventClass value.