Share via


getRef Method (java.lang.String) (SQLServerResultSet)

Retrieves the value of the designated column name in the current row of this SQLServerResultSet object as a Ref object in the Java programming language.

Syntax

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

Parameters

colName

A String that contains the column name.

Return Value

A Ref object.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerResultSet Class

Concepts

getRef Method (SQLServerResultSet)

SQLServerResultSet Members