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
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.
.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.