TfsConfigurationServer.GetTeamProjectCollection Method

Gets the TfsTeamProjectCollection that has the specified ID.

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

Syntax

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

Parameters

  • 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

Reference

TfsConfigurationServer Class

Microsoft.TeamFoundation.Client Namespace

Other Resources

Connect to Team Foundation Server from a Console Application