I am using PowerShell to connect to TFS and perform various operation. I can do this:
$Uri = New-Object System.Uri("http://mycompany.com/tfs/collection")
$t = New-Object Microsoft.TeamFoundation.Client.TfsTeamProjectCollection($Uri, $TfsClientCredentials)
$t.Authenticate()
$CSS = $t.GetService([Microsoft.TeamFoundation.Server.ICommonStructureService])
It all works. However I can't find a list of the built in services like ICommonStructureService I've used here. I've located a few pages that list some of them like: https://blogs.msdn.microsoft.com/taylaf/2010/02/23/introducing-the-tfsconnection-tfsconfigurationserver-and-tfsteamprojectcollection-classes/ but this is outdated.
Is there anywhere I can see the complete list?
You can access additional services by using one of the GetService
methods that the abstract class TfsConnection defines and that TfsConfigurationServer and TfsTeamProjectCollection implement.
When you use the TfsTeamProjectCollection class, you access the services for the team project collection. Below is a complete list:
More detail info please refer this article: Getting Additional Team Foundation Services