共用方式為


getMaxConnections Method (SQLServerDatabaseMetaData)

Retrieves the maximum number of concurrent connections to this database that are possible.

public int getMaxConnections()

傳回值

An int that indicates the maximum number of concurrent connections allowed.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerDatabaseMetaData Class

概念

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members