How to use the Location property under Resource ?