Share via


getParameterMode Method (SQLServerParameterMetaData)

Retrieves the mode of the designated parameter.

Syntax

public int getParameterMode(int param)

Parameters

param

An int that indicates parameter index.

Return Value

An int that indicates the mode of the designated parameter, which can be one of the following values:

ParameterMetaData.parameterModeIn

ParameterMetaData.parameterModeInOut

ParameterMetaData.parameterModeOut

ParameterMetaData.parameterModeUnknown

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerParameterMetaData Class

Concepts

SQLServerParameterMetaData Methods

SQLServerParameterMetaData Members