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
'Déclaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Client Namespace
Other Resources
Connect to Team Foundation Server from a Console Application