共用方式為


isReadOnly Method (SQLServerResultSetMetaData)

Indicates whether the designated column is definitely not writable.

public boolean isReadOnly(int column)

參數

column

An int that indicates the column index.

傳回值

true if the column is read-only. Otherwise, false.

例外狀況

SQLServerException

備註

This isReadOnly method is specified by the isReadOnly method in the java.sql.ResultSetMetaData interface.

另請參閱

參考

SQLServerResultSetMetaData Class

概念

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members