Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Runs the AdomdCommand without returning any results.
Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
Public Function ExecuteNonQuery As Integer
'Usage
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
Return Value
Type: Int32
A value of one (1).
Implements
IDbCommandExecuteNonQuery
Exceptions
| Exception | Condition | 
|---|---|
| InvalidOperationException | The CommandText property was improperly set. | 
Remarks
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.