--- title: "getURL 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.getURL (java.lang.String)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: 105a5319-0f4c-4d08-964b-cc52f8e28ec1 author: David-Engel ms.author: v-daenge --- # 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)