Use the ExcludeFromLicensedSessions property to exclude the current session from the total licensed session count specified by the TEDBEngineLicensedSessions property for local sessions, and the licensed session count configured for the ElevateDB Server for remote sessions.