다음을 통해 공유


TraceEventCollection.Find 메서드

Gets the TraceEvent that has the specified TraceEventClass value from the collection.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Public Function Find ( _
    eventId As TraceEventClass _
) As TraceEvent
‘사용 방법
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

매개 변수

반환 값

유형: Microsoft.AnalysisServices.TraceEvent
The TraceEvent if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

참고 항목

참조

TraceEventCollection 클래스

Microsoft.AnalysisServices 네임스페이스