setLastUpdateCount Method (SQLServerDataSource)

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

public void setLastUpdateCount(boolean lastUpdateCount)

Parameters

lastUpdateCount

true if lastUpdateCount is enabled. Otherwise, false.

Remarks

If the lastUpdateCount property is set to true, 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.

See Also

Reference

SQLServerDataSource Class

Concepts

SQLServerDataSource Methods
SQLServerDataSource Members