It depends. If you have done well in alcohol/drug treatment and have one positive UA for alcohol or whatnot it is unlikely. If it is a second, third or fourth time it becomes more likely. Relapses happen. Judges understand that. So if you are otherwise in compliance with probation and treatment you are more likely to be given another chance. Often, in these situations, additional treatment and UA's will be recommended.