Partager via


Méthode AdomdDataAdapter.Update (DataSet)

Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified data set.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public Overrides Function Update ( _
    dataSet As DataSet _
) As Integer
'Utilisation
Dim instance As AdomdDataAdapter 
Dim dataSet As DataSet 
Dim returnValue As Integer 

returnValue = instance.Update(dataSet)
public override int Update(
    DataSet dataSet
)
public:
virtual int Update(
    DataSet^ dataSet
) override
abstract Update : 
        dataSet:DataSet -> int  
override Update : 
        dataSet:DataSet -> int
public override function Update(
    dataSet : DataSet
) : int

Paramètres

Valeur de retour

Type : System.Int32
The number of rows successfully updated from the data set.

Implémente

IDataAdapter.Update(DataSet)

Exceptions

Exception Condition
System.NotSupportedException

The member is called.

Notes

This member throws System.NotSupportedException exception when called.

Voir aussi

Référence

AdomdDataAdapter Classe

Surcharge Update

Espace de noms Microsoft.AnalysisServices.AdomdClient