Find méthode
Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Find ( _
eventId As TraceEventClass _
) As TraceEvent
'Utilisation
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
Paramètres
- eventId
Type : Microsoft.AnalysisServices. . :: . .TraceEventClass
Valeur de retour
Type : Microsoft.AnalysisServices. . :: . .TraceEvent
The TraceEvent if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).