GetService(T) Method
Collapse the table of content
Expand the table of content

TeamFoundationServer.GetService<T> Method

Gets the specified service.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public virtual T GetService<T>()

Type Parameters


The type of service to retrieve.

Return Value

Type: T
The instance of the specified service. Null if the service could not be found.

© 2015 Microsoft