'Declaration Public Overrides Function ExecuteNonQuery() As Integer
public override int ExecuteNonQuery()
Return Value
For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command. For all other types of statements, the return value is -1.