Condividi tramite


AdomdParameterCollection.Add Method (String, Object)

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

Spazio dei nomi: Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintassi

'Dichiarazione
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

Parametri

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

Valore restituito

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AdomdParameterCollection Class
AdomdParameterCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace