共用方式為


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 命名空間