Share via


getRef Method (java.lang.String)

Retrieves the value of the designated parameter as a Ref object in the Java programming language given the parameter name.

Syntax

public java.sql.Ref getRef(java.lang.String sCol)

Parameters

sCol

A String that contains the parameter name.

Return Value

A Ref object.

Exceptions

SQLServerException

Remarks

This getRef method is specified by the getRef method in the java.sql.CallableStatement interface.

See Also

Reference

SQLServerCallableStatement Class

Concepts

getRef Method (SQLServerCallableStatement)

SQLServerCallableStatement Members