Condividi tramite


Metodo CommandCollection.Add

Adds a Command to the end of the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    item As Command _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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

Vedere anche

Riferimento

CommandCollection Classe

Spazio dei nomi Microsoft.AnalysisServices