Метод Contains (TraceEvent)
Indicates whether the collection contains a specified TraceEvent.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Contains ( _
item As TraceEvent _
) As Boolean
'Применение
Dim instance As TraceEventCollection
Dim item As TraceEvent
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
TraceEvent item
)
public:
bool Contains(
TraceEvent^ item
)
member Contains :
item:TraceEvent -> bool
public function Contains(
item : TraceEvent
) : boolean
Параметры
- item
Тип: Microsoft.AnalysisServices. . :: . .TraceEvent
The TraceEvent to locate.
Возвращаемое значение
Тип: System. . :: . .Boolean
true if the TraceEvent exists in the collection; otherwise, false.
См. также