Condividi tramite


Proprietà Item (TraceEventClass)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    eventId As TraceEventClass _
) As TraceEvent
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Valore proprietà

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