Find Método
Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function Find ( _
eventId As TraceEventClass _
) As TraceEvent
'Uso
Dim instance As TraceEventCollection
Dim eventId As TraceEventClass
Dim returnValue As TraceEvent
returnValue = instance.Find(eventId)
public TraceEvent Find(
TraceEventClass eventId
)
public:
TraceEvent^ Find(
TraceEventClass eventId
)
member Find :
eventId:TraceEventClass -> TraceEvent
public function Find(
eventId : TraceEventClass
) : TraceEvent
Parámetros
- eventId
Tipo: Microsoft.AnalysisServices. . :: . .TraceEventClass
Valor devuelto
Tipo: Microsoft.AnalysisServices. . :: . .TraceEvent
The TraceEvent if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).
Vea también