Freigeben über


TraceEventCollection.Item-Eigenschaft (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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

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

Siehe auch

Verweis

TraceEventCollection Klasse

Item-Überladung

Microsoft.AnalysisServices-Namespace