This documentation is archived and is not being maintained.

WorkingFolder::GetWorkspaceRoots Method

Defines the collections of workspace roots from the working folders.

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

public:
static IEnumerable<String^>^ GetWorkspaceRoots(
	array<WorkingFolder^>^ folders
)

Parameters

folders
Type: array<Microsoft.TeamFoundation.VersionControl.Client::WorkingFolder>

The working folders

Return Value

Type: System.Collections.Generic::IEnumerable<String>
The collections of the workspace roots from the working folders.

Show: