Retrieves the current result as an update count.

语法

public final int getUpdateCount()

返回值

An int that contains the update count. If the returned result is a result set object or there are no more results, -1 is returned.

异常

SQLServerException

备注

This getUpdateCount method is specified by the getUpdateCount method in the java.sql.Statement interface.

另请参见

SQLServerStatement Class
SQLServerStatement Methods
SQLServerStatement Members