Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.17 KB

File metadata and controls

39 lines (29 loc) · 1.17 KB
title getStatementPoolingCacheSize Method (SQLServerConnection)
description getStatementPoolingCacheSize Method (SQLServerConnection)
author David-Engel
ms.author davidengel
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