Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.2 KB

File metadata and controls

40 lines (30 loc) · 1.2 KB
title getStatementHandleCacheEntryCount Method (SQLServerConnection)
description getStatementHandleCacheEntryCount 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.getStatementHandleCacheEntryCount
apitype Assembly

getStatementHandleCacheEntryCount Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Returns the current number of pooled prepared statement handles.

Syntax

  
public int getStatementHandleCacheEntryCount()  

Return Value

An int that contains the current number of pooled prepared statement handles.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerConnection Members
SQLServerConnection Class