Метод AdomdCommand.ExecuteNonQuery

Runs the AdomdCommand without returning any results.

Пространство имен:  Microsoft.AnalysisServices.AdomdServer
Сборка:  msmgdsrv (в msmgdsrv.dll)

Синтаксис

'Декларация
Public Function ExecuteNonQuery As Integer
'Применение
Dim instance As AdomdCommand 
Dim returnValue As Integer 

returnValue = instance.ExecuteNonQuery()
public int ExecuteNonQuery()
public:
virtual int ExecuteNonQuery() sealed
abstract ExecuteNonQuery : unit -> int  
override ExecuteNonQuery : unit -> int
public final function ExecuteNonQuery() : int

Возвращаемое значение

Тип: System.Int32
A value of one (1).

Реализует

IDbCommand.ExecuteNonQuery()

Исключения

Исключение Условие
AdomdErrorResponseException

The provider returned an error in response.

AdomdUnknownResponseException

The provider sent an unrecognizable response.

System.InvalidOperationException

The CommandText property was improperly set.

Замечания

You can use the ExecuteNonQuery method to run commands that typically do not return a CellSet, such as data definition language (DDL) commands or writeback commands.

См. также

Справочник

AdomdCommand Класс

Пространство имен Microsoft.AnalysisServices.AdomdServer