Condividi tramite


setLastUpdateCount Method (SQLServerDataSource)

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

public void setLastUpdateCount(boolean lastUpdateCount)

Parametri

lastUpdateCount

true if lastUpdateCount is enabled. Otherwise, false.

Osservazioni

If the lastUpdateCount property is set to true, Microsoft SQL Server JDBC Driver will return only the last update count from from an SQL statement passed to the server. If the lastUpdateCount property is set to false, the driver will return all update counts including those returned by any triggers that may have fired. If the lastUpdateCount property is not set, the getLastUpdateCount method returns the default value of true.

Vedere anche

Riferimento

SQLServerDataSource Class

Concetti

SQLServerDataSource Methods
SQLServerDataSource Members