setUnicodeStream Method (SQLServerPreparedStatement)

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

备注

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

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

参数

n

An int that indicates the parameter number.

x

An InputStream object.

length

The number of bytes.

异常

SQLServerException

备注

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

另请参见

参考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members