TraceEventCollection.Find Method (TraceEventClass)
Applies To: SQL Server 2016 Preview
Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
public TraceEvent Find(
TraceEventClass eventId
)
public:
TraceEvent^ Find(
TraceEventClass eventId
)
member Find :
eventId:TraceEventClass -> TraceEvent
Public Function Find (
eventId As TraceEventClass
) As TraceEvent
Parameters
eventId
Type: Microsoft.AnalysisServices.TraceEventClassThe TraceEventClass value of the TraceEvent to return.
Return Value
Type: Microsoft.AnalysisServices.TraceEvent
The TraceEvent if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).
See Also
TraceEventCollection Class
Microsoft.AnalysisServices Namespace
Return to top