Share via


getMaxCatalogNameLength Method (SQLServerDatabaseMetaData)

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

Syntax

public int getMaxCatalogNameLength()

Return Value

An int that indicates the maximum number of characters allowed.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerDatabaseMetaData Class

Concepts

SQLServerDatabaseMetaData Methods

SQLServerDatabaseMetaData Members