| title | isReadOnly Method (SQLServerConnection) |
|---|---|
| description | isReadOnly Method (SQLServerConnection) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerConnection.isReadOnly |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Indicates whether this SQLServerConnection object is in read-only mode.
Note
This method is not currently supported by the [!INCLUDEjdbcNoVersion].
public boolean isReadOnly()
true if the connection is in read-only mode, false if it is not.
This isReadOnly method is specified by the isReadOnly method in the java.sql.Connection interface.