Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.41 KB

File metadata and controls

47 lines (36 loc) · 1.41 KB
title isReadOnly Method (SQLServerConnection) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerConnection.isReadOnly
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 902fd2c1-05e0-436e-9779-c048cdb8475a
author David-Engel
ms.author v-daenge

isReadOnly Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

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

Note

This method is not currently supported by the [!INCLUDEjdbcNoVersion].

Syntax

  
public boolean isReadOnly()  

Return Value

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

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerConnection Members
SQLServerConnection Class