Compartilhar via


Método AlgorithmParameterCollection.Add (String, Object)

Creates and adds an AlgorithmParameter, with the specified name and value, to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    name As String, _
    value As Object _
) As AlgorithmParameter
'Uso
Dim instance As AlgorithmParameterCollection 
Dim name As String 
Dim value As Object 
Dim returnValue As AlgorithmParameter 

returnValue = instance.Add(name, value)
public AlgorithmParameter Add(
    string name,
    Object value
)
public:
AlgorithmParameter^ Add(
    String^ name, 
    Object^ value
)
member Add : 
        name:string * 
        value:Object -> AlgorithmParameter
public function Add(
    name : String, 
    value : Object
) : AlgorithmParameter

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.AlgorithmParameter
The AlgorithmParameter that was added to the collection.

Consulte também

Referência

AlgorithmParameterCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices