list of barriers

Discussion created by jestanford on Sep 21, 2011
Latest reply on Oct 19, 2012 by salarconoesri
I'm new to NA and trying to figure out if the following is possible:

I've got a network dataset of toll roads and I want to generate a route between an entry and exit point and then generate a list of toll plazas and their associated tolls along the route. I'm having no problem setting the toll plazas as cost barriers, generating the route and getting the accumulated toll but is there a way to get a list of barriers encountered along the route?

Ultimately I'll be accessing this as an ArcGIS Server service from Silverlight. There is a Barriers property returned by the RouteTask but it appears to be every barrier in the layer.

Is the only way to retrieve a list of barriers to do a separate spatial query?