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