Share via


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)

Syntax

'Declaration
Public Shared Function GetWorkspaceRoots ( _
    folders As WorkingFolder() _
) As IEnumerable(Of String)
public static IEnumerable<string> GetWorkspaceRoots(
    WorkingFolder[] folders
)
public:
static IEnumerable<String^>^ GetWorkspaceRoots(
    array<WorkingFolder^>^ folders
)
static member GetWorkspaceRoots : 
        folders:WorkingFolder[] -> IEnumerable<string> 
public static function GetWorkspaceRoots(
    folders : WorkingFolder[]
) : IEnumerable<String>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

WorkingFolder Class

Microsoft.TeamFoundation.VersionControl.Client Namespace