Edit

Share via


ProjectHttpClient.GetProjects Method

Definition

Overloads

GetProjects(Nullable<ProjectState>, Nullable<Int32>, Nullable<Int32>, Object, String)

Get projects with the specified state.

GetProjects(Nullable<ProjectState>, Nullable<Int32>, Nullable<Int32>, Object, String, Nullable<Boolean>)

Get projects with the specified state.

GetProjects(Nullable<ProjectState>, Nullable<Int32>, Nullable<Int32>, Object, String)

Get projects with the specified state.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.Core.WebApi.TeamProjectReference>> GetProjects (Nullable<Microsoft.TeamFoundation.Core.WebApi.ProjectState> stateFilter, Nullable<int> top, Nullable<int> skip, object userState, string continuationToken);
override this.GetProjects : Nullable<Microsoft.TeamFoundation.Core.WebApi.ProjectState> * Nullable<int> * Nullable<int> * obj * string -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.Core.WebApi.TeamProjectReference>>
Public Overridable Function GetProjects (stateFilter As Nullable(Of ProjectState), top As Nullable(Of Integer), skip As Nullable(Of Integer), userState As Object, continuationToken As String) As Task(Of IPagedList(Of TeamProjectReference))

Parameters

stateFilter
Nullable<ProjectState>

Filter on team projects in a specific team project state.

top
Nullable<Int32>

Number of team projects to return (default: 100)

skip
Nullable<Int32>

Number of team projects to skip.

userState
Object
continuationToken
String

Returns

Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<TeamProjectReference>>

Applies to

GetProjects(Nullable<ProjectState>, Nullable<Int32>, Nullable<Int32>, Object, String, Nullable<Boolean>)

Get projects with the specified state.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.Core.WebApi.TeamProjectReference>> GetProjects (Nullable<Microsoft.TeamFoundation.Core.WebApi.ProjectState> stateFilter = null, Nullable<int> top = null, Nullable<int> skip = null, object userState = null, string continuationToken = null, Nullable<bool> getDefaultTeamImageUrl = null);
override this.GetProjects : Nullable<Microsoft.TeamFoundation.Core.WebApi.ProjectState> * Nullable<int> * Nullable<int> * obj * string * Nullable<bool> -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.Core.WebApi.TeamProjectReference>>
Public Overridable Function GetProjects (Optional stateFilter As Nullable(Of ProjectState) = null, Optional top As Nullable(Of Integer) = null, Optional skip As Nullable(Of Integer) = null, Optional userState As Object = null, Optional continuationToken As String = null, Optional getDefaultTeamImageUrl As Nullable(Of Boolean) = null) As Task(Of IPagedList(Of TeamProjectReference))

Parameters

stateFilter
Nullable<ProjectState>

Filter on team projects in a specific team project state.

top
Nullable<Int32>

Number of team projects to return (default: 100)

skip
Nullable<Int32>

Number of team projects to skip.

userState
Object
continuationToken
String
getDefaultTeamImageUrl
Nullable<Boolean>

Project references can include their DefaultTeamImageUrl

Returns

Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<TeamProjectReference>>

Applies to