Share via


getParameterCount Method (SQLServerParameterMetaData)

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

Reference

SQLServerParameterMetaData Class

Concepts

SQLServerParameterMetaData Methods

SQLServerParameterMetaData Members