Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.17 KB

getstatementpoolingcachesize-method-sqlserverconnection.md

File metadata and controls

39 lines (29 loc) · 1.17 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
getStatementPoolingCacheSize Method (SQLServerConnection)
getStatementPoolingCacheSize Method (SQLServerConnection)
David-Engel
davidengel
01/19/2018
sql
connectivity
reference
sqljdbc.jar
SQLServerConnection.getStatementPoolingCacheSize
Assembly

getStatementPoolingCacheSize Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Returns the size of the prepared statement cache for this connection. '0' means caching not enabled.

Syntax

  
public int getStatementPoolingCacheSize()  

Return Value

An int that contains the value of statementPoolingCacheSize connection property.

Exceptions

SQLServerException

Remarks

This method is available from JDBC driver version 6.4 and onward.

See Also

SQLServerConnection Members
SQLServerConnection Class