This documentation is archived and is not being maintained.

RegisteredTfsConnections::GetProjectCollection Method (String)

Gets the registered project collection with the specified name.

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

public:
static RegisteredProjectCollection^ GetProjectCollection(
	String^ name
)

Parameters

name
Type: System::String

The name of the registered project collection.

Return Value

Type: Microsoft.TeamFoundation.Client::RegisteredProjectCollection
The registered project collection with the specified name.
Null if no match is found.

The name parameter is usually of the form "ServerHostName\CollectionName".

For legacy collections it will be "ServerHostName".

Show: