--- title: "getSQLXML Method (int) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual ms.assetid: a1b32d3a-d7c9-4086-ae2b-fc1da96949b1 author: David-Engel ms.author: v-daenge --- # getSQLXML Method (int) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Retrieves the value of the designated parameter as a SQLXML object given the parameter index. ## Syntax ``` public final java.sql.SQLXML getSQLXML(int parameterIndex) ``` #### Parameters *parameterIndex* An **int** that indicates the parameter index. ## Return Value ASQLXMLobject. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This getSQLXML method is specified by the getSQLXML method in the java.sql.CallableStatement interface. ## See Also [getSQLXML Method (SQLServerCallableStatement)](../../../connect/jdbc/reference/getsqlxml-method-sqlservercallablestatement.md) [SQLServerCallableStatement Members](../../../connect/jdbc/reference/sqlservercallablestatement-members.md)