Share via


WorkingFolder.GetWorkspaceRoots 方法

定義工作區根目錄的集合從工作資料夾中。

命名空間:  Microsoft.TeamFoundation.VersionControl.Client
組件:  Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

語法

'宣告
Public Shared Function GetWorkspaceRoots ( _
    folders As WorkingFolder() _
) As IEnumerable(Of String)
public static IEnumerable<string> GetWorkspaceRoots(
    WorkingFolder[] folders
)

參數

傳回值

類型:System.Collections.Generic.IEnumerable<String>
工作區的集合從工作資料夾根目錄。

.NET Framework 安全性

請參閱

參考

WorkingFolder 類別

Microsoft.TeamFoundation.VersionControl.Client 命名空間