{"id":974,"date":"2012-04-17T19:02:55","date_gmt":"2012-04-17T18:02:55","guid":{"rendered":"http:\/\/www.stuartroberts.net\/?p=974"},"modified":"2012-04-17T19:02:55","modified_gmt":"2012-04-17T18:02:55","slug":"quick-tip-7","status":"publish","type":"post","link":"http:\/\/www.stuartroberts.net\/index.php\/2012\/04\/17\/quick-tip-7\/","title":{"rendered":"Service Application Proxy Classes"},"content":{"rendered":"<p><strong>SharePoint Short #7<\/strong><br \/>\nLooking for a list of the currently available service application proxy classes?<\/p>\n<p>Run the following in a console app and et voil\u00e0:<\/p>\n<pre lang=\"csharp\">\r\nvar proxies = from serviceProxies in SPFarm.Local.ServiceProxies\r\n              from SPServiceApplicationProxy serviceProxy in serviceProxies.ApplicationProxies\r\n              select serviceProxies;\r\n\r\nforeach (var proxy in proxies)\r\n{\r\n    System.Diagnostics.Debug.WriteLine(proxy.GetType());\r\n}\r\n<\/pre>\n<p>Will give you something similar to:<\/p>\n<p>Microsoft.Office.Access.Server.MossHost.AccessServerWebServiceApplicationProxy<br \/>\nMicrosoft.Office.Excel.Server.MossHost.ExcelServerWebServiceApplicationProxy<br \/>\nMicrosoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy<br \/>\nMicrosoft.Office.Server.Administration.StateServiceApplicationProxy<br \/>\nMicrosoft.Office.Server.Administration.UserProfileApplicationProxy<br \/>\nMicrosoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceApplicationProxy<br \/>\nMicrosoft.Office.Server.Search.Administration.SearchServiceApplicationProxy<br \/>\nMicrosoft.Office.Server.WebAnalytics.Administration.WebAnalyticsServiceApplicationProxy<br \/>\nMicrosoft.Office.Visio.Server.Administration.VisioGraphicsServiceApplicationProxy<br \/>\nMicrosoft.Office.Word.Server.Service.WordServiceApplicationProxy<br \/>\nMicrosoft.PerformancePoint.Scorecards.BIMonitoringServiceApplicationProxy<br \/>\nMicrosoft.SharePoint.Administration.SPUsageApplicationProxy<br \/>\nMicrosoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxy<br \/>\nMicrosoft.SharePoint.SPTopologyWebServiceApplicationProxy<br \/>\nMicrosoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SharePoint Short #7 Looking for a list of the currently available service application proxy classes? Run the following in a console app and et voil\u00e0: var proxies = from serviceProxies in SPFarm.Local.ServiceProxies from SPServiceApplicationProxy serviceProxy in serviceProxies.ApplicationProxies select serviceProxies; foreach &hellip; <a href=\"http:\/\/www.stuartroberts.net\/index.php\/2012\/04\/17\/quick-tip-7\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[44],"tags":[45],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/plx2I-fI","_links":{"self":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/974"}],"collection":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/comments?post=974"}],"version-history":[{"count":3,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/974\/revisions"}],"predecessor-version":[{"id":978,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/974\/revisions\/978"}],"wp:attachment":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/media?parent=974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/categories?post=974"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/tags?post=974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}