TeamHttpClient.GetTeams Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- userState
- Object
Returns
- Attributes