Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.56 KB

File metadata and controls

54 lines (38 loc) · 1.56 KB
title setUnicodeStream Method (SQLServerPreparedStatement)
description setUnicodeStream Method (SQLServerPreparedStatement)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerPreparedStatement.setUnicodeStream
apitype Assembly

setUnicodeStream Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter number to the given input stream, which will have the specified number of bytes.

Note

This method has been deprecated from the JDBC specification, and calling it will cause a "not implemented" exception to be thrown.

Syntax

  
public final void setUnicodeStream(int n,  
                                   java.io.InputStream x,  
                                   int length)  

Parameters

n

An int that indicates the parameter number.

x

An InputStream object.

length

The number of bytes.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class