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.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.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
- parameterName
The name of the AdomdParameter to add.
- value
The value of the AdomdParameter object to be created.
Return Value
An instance of an 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.AdomdClient Namespace