An operation to remove the whole prostate. The lymph glands around the prostate are usually removed as well and then it is called a radical prostatectomy.