ProjectCollectionHttpClient.GetProjectCollection(String, Object) 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 the project collection with the specified id/name.
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.TeamProjectCollection> GetProjectCollection(string id, object userState = null);
member this.GetProjectCollection : string * obj -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.TeamProjectCollection>
Public Function GetProjectCollection (id As String, Optional userState As Object = null) As Task(Of TeamProjectCollection)
Parameters
- id
- String
The collection id/name to search for.
- userState
- Object