ProjectHttpClient.GetProjects 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.
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.
- userState
- Object
- continuationToken
- String
Returns
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.
- userState
- Object
- continuationToken
- String
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for