Edit

TeamHttpClient.GetTeams Method

Definition

Caution

Use GetTeamsAsync method

Get all teams under a certain project. This has been deprecated and clients should instead use the GetTeamsAsync method.

[System.Obsolete("Use GetTeamsAsync method", false)]
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam>> GetTeams(string projectId, Nullable<int> top = null, Nullable<int> skip = null, object userState = null);
member this.GetTeams : string * Nullable<int> * Nullable<int> * obj -> System.Threading.Tasks.Task<seq<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam>>
Public Function GetTeams (projectId As String, Optional top As Nullable(Of Integer) = null, Optional skip As Nullable(Of Integer) = null, Optional userState As Object = null) As Task(Of IEnumerable(Of WebApiTeam))

Parameters

projectId
String
skip
Nullable<Int32>
userState
Object

Returns

Attributes

Applies to