ProjectHttpClient.GetProject 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.
Get project with the specified id or name, optionally including capabilities.
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.TeamProject> GetProject (string id, Nullable<bool> includeCapabilities = null, bool includeHistory = false, object userState = null);
member this.GetProject : string * Nullable<bool> * bool * obj -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.TeamProject>
Public Function GetProject (id As String, Optional includeCapabilities As Nullable(Of Boolean) = null, Optional includeHistory As Boolean = false, Optional userState As Object = null) As Task(Of TeamProject)
Parameters
- id
- String
The name or id of the project.
Include capabilities (such as source control) in the team project result.
- includeHistory
- Boolean
Search within renamed projects (that had such name in the past).
- userState
- Object
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