TfsConfigurationServer.GetTeamProjectCollection Method

Gets the TfsTeamProjectCollection that has the specified ID.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)


Public Function GetTeamProjectCollection ( _
    collectionId As Guid _
) As TfsTeamProjectCollection
public TfsTeamProjectCollection GetTeamProjectCollection(
    Guid collectionId
TfsTeamProjectCollection^ GetTeamProjectCollection(
    Guid collectionId
member GetTeamProjectCollection : 
        collectionId:Guid -> TfsTeamProjectCollection 
public function GetTeamProjectCollection(
    collectionId : Guid
) : TfsTeamProjectCollection


  • collectionId
    Type: System.Guid
    The ID of the desired TeamProjectCollection.

Return Value

Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
The TfsTeamProjectCollection that has the specified ID.

.NET Framework Security

See Also


TfsConfigurationServer Class

Microsoft.TeamFoundation.Client Namespace

Other Resources

Connect to Team Foundation Server from a Console Application