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
- name
Type: System.String
The name of the AlgorithmParameter to be added.
- value
Type: System.Object
The value of the AlgorithmParameter to be added.
Return Value
Type: Microsoft.AnalysisServices.AlgorithmParameter
The AlgorithmParameter that was added to the collection.