Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.55 KB

File metadata and controls

50 lines (38 loc) · 1.55 KB
title getRef Method (java.lang.String) (SQLServerResultSet) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerResultSet.getRef (java.lang.String)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 83c60c5d-7a69-498b-be9c-bbdbfafec157
author David-Engel
ms.author v-daenge

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

[!INCLUDEDriver_JDBC_Download]

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

getRef Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class