Share via


TfsTeamProjectCollection 构造函数 (RegisteredProjectCollection, IdentityDescriptor)

初始化 TfsTeamProjectCollection 选件类的新实例。

命名空间:  Microsoft.TeamFoundation.Client
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
Public Sub New ( _
    projectCollection As RegisteredProjectCollection, _
    identityToImpersonate As IdentityDescriptor _
)
public TfsTeamProjectCollection(
    RegisteredProjectCollection projectCollection,
    IdentityDescriptor identityToImpersonate
)

参数

.NET Framework 安全性

请参阅

参考

TfsTeamProjectCollection 类

TfsTeamProjectCollection 重载

Microsoft.TeamFoundation.Client 命名空间