Share via


TraceEventCollection.Find(TraceEventClass) Method

Definition

, Returns the TraceEvent with the specified EventId.

public Microsoft.AnalysisServices.TraceEvent Find (Microsoft.AnalysisServices.TraceEventClass eventId);
member this.Find : Microsoft.AnalysisServices.TraceEventClass -> Microsoft.AnalysisServices.TraceEvent
Public Function Find (eventId As TraceEventClass) As TraceEvent

Parameters

eventId
TraceEventClass

The EventId of the TraceEvent to return.

Returns

The TraceEvent with the specified EventId, if found; otherwise, a null reference (Nothing in Visual Basic).

Applies to