Метод TraceEventCollection.Add (TraceEvent)
Adds a TraceEvent to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
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
Параметры
- item
Тип: Microsoft.AnalysisServices.TraceEvent
The TraceEvent to add.
Возвращаемое значение
Тип: System.Int32
The zero-based index at which the TraceEvent has been added.