Share via


TraceEventCollection.Item Property (TraceEventClass)

Gets the TraceEvent that has the specified TraceEventClass value from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    eventId As TraceEventClass _
) As TraceEvent 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

See Also

Reference

TraceEventCollection Class

Item Overload

Microsoft.AnalysisServices Namespace