Compartir a través de


CommandCollection.Add Método

Adds a Command to the end of the collection.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
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 devuelto

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

Vea también

Referencia

CommandCollection Clase

Espacio de nombres Microsoft.AnalysisServices