Any person convicted by any court of a misdemeanor involving violence or convicted of any felony committed in connection with an event at a county recreation facility shall be excluded from county recreation property for a minimum period of two years or for the term of any sentence or probated service imposed by any court deciding a particular case, whichever is greater.