Using VssConnection
(or something else) is there a way to tell if the server being connected to is on premises or an hosted by Microsoft (i.e. Azure DevOps Service)? My research so far says that if the ServerType
GUID is {87966eaa-cb2a-443f-be3c-47bd3b5bf3cb}
then it is a on-premises instance but I can't find this documented anywhere.
In the previous version of APIs (SOAP based APIs) the ServerCapabilities
enum as returned by an instance of TfsTeamProjectCollection
used to be able to do this. The property 'IsHostedServer' on TfsTeamProjectCollection
had this information which was actually returned from the server itself.
Is there a way to definitely tell this?