共用方式為


getLastUpdateCount Method (SQLServerDataSource)

Returns a boolean value that indicates if the lastUpdateCount property is enabled.

public boolean getLastUpdateCount()

傳回值

true if lastUpdateCount is enabled. Otherwise, false.

備註

If the lastUpdateCount property is set to true, the Microsoft SQL Server 2005 JDBC Driver will return only the last update count from all the update counts that are returned by a batch. The default of false will return all update counts. If the lastUpdateCount property is not set, the getLastUpdateCount method returns the default value of false.

另請參閱

參考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members