Partager via


AdomdParameterCollection.Add Method (String, Object)

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

Espace de noms: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)

Syntaxe

'Déclaration
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

Paramètres

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

Valeur de retour

An instance of a AdomdParameter object.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AdomdParameterCollection Class
AdomdParameterCollection Members
Microsoft.AnalysisServices.AdomdServer Namespace