다음을 통해 공유


AdomdDataAdapter.Update 메서드 (DataSet)

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

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Public Overrides Function Update ( _
    dataSet As DataSet _
) As Integer
‘사용 방법
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

매개 변수

반환 값

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

구현

IDataAdapter.Update(DataSet)

예외

예외 조건
System.NotSupportedException

The member is called.

주의

This member throws System.NotSupportedException exception when called.

참고 항목

참조

AdomdDataAdapter 클래스

Update 오버로드

Microsoft.AnalysisServices.AdomdClient 네임스페이스