Use sp_configure to specify the number of licenses in your license agreement, where number is the number of licenses:
sp_configure "license information" , number
This example sets the maximum number of user licenses to 300, and reports an overuse for license number 301:
sp_configure "license information", 300
If you increase the number of user licenses, you must also change the license information configuration parameter.