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