共用方式為


isReadOnly Method (SQLServerConnection)

Indicates whether this SQLServerConnection object is in read-only mode.

注意

This method is not currently supported by the Microsoft SQL Server 2005 JDBC Driver.

public boolean isReadOnly()

傳回值

true if the connection is in read-only mode, false if it is not.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerConnection Class

概念

SQLServerConnection Methods
SQLServerConnection Members