Поделиться через


Метод CommandCollection.Add

Adds a Command to the end of the collection.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function Add ( _
    item As Command _
) As Integer
'Применение
Dim instance As CommandCollection 
Dim item As Command 
Dim returnValue As Integer 

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

Параметры

Возвращаемое значение

Тип: System.Int32
The zero-based index at which the Command has been added.

См. также

Справочник

CommandCollection Класс

Пространство имен Microsoft.AnalysisServices