Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.43 KB

File metadata and controls

45 lines (35 loc) · 1.43 KB
title getMaxUserNameLength Method (SQLServerDatabaseMetaData) | 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
SQLServerDatabaseMetaData.getMaxUserNameLength
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 09ec7d40-4c4a-4d89-ba11-78e5327b5759
author David-Engel
ms.author v-daenge

getMaxUserNameLength Method (SQLServerDatabaseMetaData)

[!INCLUDEDriver_JDBC_Download]

Retrieves the maximum number of characters that this database allows in a user name.

Syntax

  
public int getMaxUserNameLength()  

Return Value

An int that indicates the maximum number of characters allowed.

Exceptions

SQLServerException

Remarks

This getMaxUserNameLength method is specified by the getMaxUserNameLength method in the java.sql.DatabaseMetaData interface.

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class