Delen via


AlgorithmParameterCollection.Add Method (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 (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Add ( _
    name As String, _
    value As Object _
) As AlgorithmParameter
'Usage
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

Parameters

Return Value

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

See Also

Reference

AlgorithmParameterCollection Class

Add Overload

Microsoft.AnalysisServices Namespace