다음을 통해 공유


TraceEventCollection.Add 메서드 (TraceEventClass)

Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.

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

구문

‘선언
Public Function Add ( _
    eventId As TraceEventClass _
) As TraceEvent
‘사용 방법
Dim instance As TraceEventCollection 
Dim eventId As TraceEventClass 
Dim returnValue As TraceEvent 

returnValue = instance.Add(eventId)
public TraceEvent Add(
    TraceEventClass eventId
)
public:
TraceEvent^ Add(
    TraceEventClass eventId
)
member Add : 
        eventId:TraceEventClass -> TraceEvent
public function Add(
    eventId : TraceEventClass
) : TraceEvent

매개 변수

반환 값

유형: Microsoft.AnalysisServices.TraceEvent
A new, empty TraceEvent.

참고 항목

참조

TraceEventCollection 클래스

Add 오버로드

Microsoft.AnalysisServices 네임스페이스