I just saw a campus psychiatrist and doctor recently. I told them I was suicidal, and I wasn't committed. I just came out and told them everything, but I think the key thing for me not getting committed was the fact that I told them that I never hurt myself prior to my visit. Also, the fact that as much as I wanted to kill myself, I never could come up with the courage to do it.
But, I wouldn't lay everything out on the line. Just tell them what you want first rather than just an outlet. I think it keeps the "involuntary commitment" when you tell them that you want to get better. If you've made up your mind that you wanted to kill yourself, then I think they'd commit you. So, I'd stay away from saying anything like that.