TeamFoundationServer 构造函数 (RegisteredProjectCollection, ICredentials, ICredentialsProvider)

初始化与服务器由指定的 RegisteredProjectCollection、凭据和凭据提供程序来描述的新 TeamFoundationServer 对象。

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

语法

声明
Public Sub New ( _
    projectCollection As RegisteredProjectCollection, _
    credentials As ICredentials, _
    credentialsProvider As ICredentialsProvider _
)
public TeamFoundationServer(
    RegisteredProjectCollection projectCollection,
    ICredentials credentials,
    ICredentialsProvider credentialsProvider
)

参数

.NET Framework 安全性

请参见

参考

TeamFoundationServer 类

TeamFoundationServer 重载

Microsoft.TeamFoundation.Client 命名空间