Compartilhar via


Método CommandCollection.Add

Adds a Command to the end of the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Add ( _
    item As Command _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

CommandCollection Classe

Namespace Microsoft.AnalysisServices