AdomdCommand.ExecuteNonQuery Method
Runs the AdomdCommand without returning any results.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Syntax
'Declaration
Public Function ExecuteNonQuery As Integer
public int ExecuteNonQuery ()
public:
virtual int ExecuteNonQuery () sealed
public final int ExecuteNonQuery ()
public final function ExecuteNonQuery () : int
Rückgabewert
A value of one (1).
Ausnahmen
Ausnahmetyp | Bedingung |
---|---|
AdomdErrorResponseException | The provider returned an error in response. |
AdomdUnknownResponseException | The provider sent an unrecognizable response. |
AdomdConnectionException | The connection was broken. |
System.InvalidOperationException | An error occurred because one of the following conditions was met:
|
Hinweise
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.
Threadsicherheit
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.
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace