Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.52 KB

File metadata and controls

50 lines (38 loc) · 1.52 KB
title isAutoIncrement Method (SQLServerResultSetMetaData) | 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
SQLServerResultSetMetaData.isAutoIncrement
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 028b8d61-9557-4c9f-b732-29e87a962de8
author David-Engel
ms.author v-daenge

isAutoIncrement Method (SQLServerResultSetMetaData)

[!INCLUDEDriver_JDBC_Download]

Indicates whether the designated column is automatically numbered, which makes it read-only.

Syntax

  
public boolean isAutoIncrement(int column)  

Parameters

column

An int that indicates the column index.

Return Value

true if the column is automatically numbered. Otherwise, false.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class