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

TfsConnection.GetService<T> Method

Gets the requested service.

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

public virtual T GetService<T>()

Type Parameters

T

The type of service to retrieve.

Return Value

Type: T
An instance of the service that is requested if it could be found, or a null reference if it could not be found.

Show:
© 2016 Microsoft