Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.24 KB

File metadata and controls

47 lines (34 loc) · 1.24 KB
title setURL Method (SQLServerPreparedStatement)
description setURL Method (SQLServerPreparedStatement)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerPreparedStatement.setURL
apitype Assembly

setURL Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given URL value.

Syntax

  
public final void setURL(int parameterIndex,  
                         java.net.URL x)  

Parameters

parameterindex

An int that indicates the parameter number.

x

A URL object.

Exceptions

SQLServerException

Remarks

This setURL method is specified by the setURL method in the java.sql.PreparedStatement interface.

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class