Compartir a través de


AdomdCommand.ExecuteNonQuery Method

Runs the AdomdCommand without returning any results.

Espacio de nombres: Microsoft.AnalysisServices.AdomdServer
Ensamblado: msmgdsrv (in msmgdsrv.dll)

Sintaxis

'Declaración
Public Function ExecuteNonQuery As Integer
public int ExecuteNonQuery ()
public:
virtual int ExecuteNonQuery () sealed
public final int ExecuteNonQuery ()
public final function ExecuteNonQuery () : int

Valor devuelto

A value of one (1).

Excepciones

Tipo de excepción Condición
AdomdErrorResponseException

The provider returned an error in response.

AdomdUnknownResponseException

The provider sent an unrecognizable response.

System.InvalidOperationException

The CommandText property was improperly set.

Notas

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.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdServer Namespace