다음을 통해 공유


Add 메서드 (TraceEvent)

Adds a TraceEvent to the end of the collection.

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

구문

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

returnValue = instance.Add(item)
public int Add(
    TraceEvent item
)
public:
int Add(
    TraceEvent^ item
)
member Add : 
        item:TraceEvent -> int 
public function Add(
    item : TraceEvent
) : int

매개 변수

반환 값

형식: System. . :: . .Int32
The zero-based index at which the TraceEvent has been added.