AdomdDataAdapter.Update Method (DataSet)

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Overrides Function Update ( _
    dataSet As DataSet _
) As Integer
'Usage
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

Parameters

Return Value

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

Implements

IDataAdapter.Update(DataSet)

Exceptions

Exception Condition
System.NotSupportedException

The member is called.

Remarks

This member throws System.NotSupportedException exception when called.

See Also

Reference

AdomdDataAdapter Class

Update Overload

Microsoft.AnalysisServices.AdomdClient Namespace