Share via


Working with Team Foundation Server Services

A Team Foundation server provides services to clients.

Table of Services

TeamFoundationServer is the core object in the system that abstracts common infrastructure. It acts as a class factory for Team Foundation Build components. From a TeamFoundationServer object, you can get interfaces for the various sub-components of a Team Foundation server by using the following method.

public object GetService(Type serviceType)

You can get the following built-in interfaces from this call.

Service

Description

IRegistration

Registration service for the Team Foundation server.

ICommonStructureService

Classification service.

ILinking

Linking service to link one artifact with another.

IGroupSecurityService

Service to manage security for users and groups on the Team Foundation server.

IAuthorizationService

Authorization service for the Team Foundation server.

IServerStatusService

Interface for polling the Team Foundation server to learn its current status.

IProcessTemplates

Interface for working with process templates.

WorkItemStore

Object for interacting with Team Foundation Server work item tracking components for this Team Foundation server. A WorkItemStore object encapsulates the store that contains all work items for a Team Foundation server.

VersionControlServer

Object for interacting with Team Foundation Server source control components.

Adding and Removing Services

In addition to the built-in services, you can add and remove additional services by using an appropriate add or remove service method. Search the Reference section to find the methods that you need. Be aware that built-in services can never be removed.

See Also

Concepts

Essentials

Connecting to a Team Foundation Server

Working with Team Foundation Server Properties