# mco_db_connection_info
RT

> Get number of connections.

### Prototype

        MCO_RET mco_db_connection_info( /*IN*/ const char* name, /*OUT*/ unsigned int * p_nconnections_max, /*OUT*/ unsigned int * p_nconnections_current);

### Arguments

name | The name of a database
p_nconnections_max | Maximal number of connections
p_nconnections_current | Current number of connections

### Description

> This function returns the current and maximal number of connections to a database

### Return Codes

MCO_S_OK | OK

### Example

If example code demonstrating how to use this function is required, please contact McObject Support by clicking on the "Send Feedback" link below.

        No example code provided.

### Files

Header file:
mco.h
Source file:
mcoconn.c
Library:
libmcolib.a