How do I set priority of a resource?

Hi, is it possible to specify a priority of a resource when connecting to server? I’‘ve noticed that - by default - it’'s set to zero. What to do if I want to suppy my own value?