共用方式為


TeamExplorerProjects.SetProjectsForCollection 方法 (TfsTeamProjectCollection, IEnumerable<String>)

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

語法

'宣告
Public Sub SetProjectsForCollection ( _
    tpc As TfsTeamProjectCollection, _
    projectUris As IEnumerable(Of String) _
)
public void SetProjectsForCollection(
    TfsTeamProjectCollection tpc,
    IEnumerable<string> projectUris
)

參數

.NET Framework 安全性

請參閱

參考

TeamExplorerProjects 類別

SetProjectsForCollection 多載

Microsoft.TeamFoundation.Client 命名空間