ParticleTrail.emissionRate = 0 Unity 5.3

I just cant seem to find a way to use the new emission.rate for unity 5.3…
Sorry I dont have much time, but thats why my question is so short…
Thanks in advance
NightLucidity

You can do this:

var rate = ParticleTrail.emission.rate;
rate.mode = ParticleSystemCurveMode.Constant;
rate.constantMin = 0.0f;
rate.constantMax = 0.0f;

But, if you want just to stop the particle system you can:

var em = ParticleTrail.emission;
em.enabled = false;