Свойство 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.