Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.65 KB

File metadata and controls

49 lines (39 loc) · 1.65 KB
title getParameterCount Method (SQLServerParameterMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql-non-specified
ms.reviewer
ms.suite
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerParameterMetaData.getParameterCount
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 7dbbdacb-74ef-42e7-9bdc-a3229505dad8
caps.latest.revision 7
author MightyPen
ms.author genemi
manager jhubbard

getParameterCount Method (SQLServerParameterMetaData)

[!INCLUDEDriver_JDBC_Download]

Retrieves the number of parameters in the SQLServerPreparedStatement object for which this SQLServerParameterMetaData object contains information.

Syntax

  
public int getParameterCount()  

Return Value

An int that indicates the number of parameters.

Exceptions

SQLServerException

Remarks

This getParameterCount method is specified by the getParameterCount method in the java.sql.ParameterMetaData interface.

See Also

SQLServerParameterMetaData Methods
SQLServerParameterMetaData Members
SQLServerParameterMetaData Class