Share via


AdomdParameterCollection.Add Method (String, Object)

Creates a new AdomdParameter object with the specified property name and value, and adds it to the collection.

Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Function Add ( _
    parameterName As String, _
    value As Object _
) As AdomdParameter
public AdomdParameter Add (
    string parameterName,
    Object value
)
public:
AdomdParameter^ Add (
    String^ parameterName, 
    Object^ value
)
public AdomdParameter Add (
    String parameterName, 
    Object value
)
public function Add (
    parameterName : String, 
    value : Object
) : AdomdParameter

Parameters

  • value
    The value of the AdomdParameter object to be created.

Return Value

An instance of a AdomdParameter object.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdParameterCollection Class
AdomdParameterCollection Members
Microsoft.AnalysisServices.AdomdServer Namespace