'Declaration Public Function EndExecuteNonQuery( _ ByVal result As IAsyncResult _ ) As Integer
public int EndExecuteNonQuery( IAsyncResult result )
Parameters
- result
- The System.IAsyncResult returned by BeginExecuteNonQuery.
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.