Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.21 KB

File metadata and controls

40 lines (30 loc) · 1.21 KB
title getStatementPoolingCacheSize Method (SQLServerConnection)
description getStatementPoolingCacheSize Method (SQLServerConnection)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2018
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerConnection.getStatementPoolingCacheSize
apitype 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