SqlDatabase.ExecuteNonQuery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExecuteNonQuery(DbCommand) | |
ExecuteNonQuery(DbCommand, DbTransaction) |
ExecuteNonQuery(DbCommand)
public:
int ExecuteNonQuery(System::Data::Common::DbCommand ^ command);
public int ExecuteNonQuery (System.Data.Common.DbCommand command);
member this.ExecuteNonQuery : System.Data.Common.DbCommand -> int
Public Function ExecuteNonQuery (command As DbCommand) As Integer
Parameters
- command
- DbCommand
Returns
Applies to
ExecuteNonQuery(DbCommand, DbTransaction)
public:
virtual int ExecuteNonQuery(System::Data::Common::DbCommand ^ command, System::Data::Common::DbTransaction ^ transaction);
public virtual int ExecuteNonQuery (System.Data.Common.DbCommand command, System.Data.Common.DbTransaction transaction);
abstract member ExecuteNonQuery : System.Data.Common.DbCommand * System.Data.Common.DbTransaction -> int
override this.ExecuteNonQuery : System.Data.Common.DbCommand * System.Data.Common.DbTransaction -> int
Public Overridable Function ExecuteNonQuery (command As DbCommand, transaction As DbTransaction) As Integer
Parameters
- command
- DbCommand
- transaction
- DbTransaction