Accessing service application programmatically
In sharepoint 2010 say for a web application, multiple service applications of same kind (User ProfileService Application 1 and User profile service application 2) are associated. In the associations say User profile service application 1 is set as default application to the web application.Now can we get access on to User Profile service application 2 programatically?