setBoolean Method (SQLServerCallableStatement)

Sets the designated parameter to the given boolean value.

public void setBoolean(java.lang.String sCol,
                       boolean b)

参数

sCol

A String that contains the parameter name.

b

A boolean value, either true or false.

异常

SQLServerException

备注

This setBoolean method is specified by the setBoolean method in the java.sql.CallableStatement interface.

另请参见

参考

SQLServerCallableStatement Class

概念

SQLServerCallableStatement Methods
SQLServerCallableStatement Members