--- title: "getURL Method (java.lang.String) (SQLServerResultSet) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: "sql-non-specified" ms.reviewer: "" ms.suite: "" ms.technology: - "drivers" ms.tgt_pltfrm: "" ms.topic: "article" apiname: - "SQLServerResultSet.getURL (java.lang.String)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: 105a5319-0f4c-4d08-964b-cc52f8e28ec1 caps.latest.revision: 8 author: "MightyPen" ms.author: "genemi" manager: "jhubbard" ms.workload: "Inactive" --- # getURL Method (java.lang.String) (SQLServerResultSet) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Retrieves the value of the designated column name in the current row of this [SQLServerResultSet](../../../connect/jdbc/reference/sqlserverresultset-class.md) object as a URL object. ## Syntax ``` public java.net.URL getURL(java.lang.String sColumn) ``` #### Parameters *sColumn* A **String** that contains the column name. ## Return Value A URL object. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This getURL method is specified by the getURL method in the java.sql.ResultSet interface. ## See Also [getURL Method (SQLServerResultSet)](../../../connect/jdbc/reference/geturl-method-sqlserverresultset.md) [SQLServerResultSet Members](../../../connect/jdbc/reference/sqlserverresultset-members.md) [SQLServerResultSet Class](../../../connect/jdbc/reference/sqlserverresultset-class.md)