Share via


setBinaryStream Method (int, java.io.InputStream)

Sets the designated parameter to the specified input stream.

Note

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public final void setAsciiStream(int parameterIndex,
                                 java.io.InputStream x)

Parameters

parameterIndex

An int that indicates the parameter number.

x

A java.io.InputStream object.

Exceptions

SQLServerException

Remarks

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

See Also

Concepts

setBinaryStream Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members