共用方式為


TeamFoundationServer 建構函式 (String, ICredentials, ICredentialsProvider)

初始化與指定的 URL 和認證的新 TeamFoundationServer 物件。

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

語法

'宣告
Public Sub New ( _
    url As String, _
    credentials As ICredentials, _
    credentialsProvider As ICredentialsProvider _
)
public TeamFoundationServer(
    string url,
    ICredentials credentials,
    ICredentialsProvider credentialsProvider
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationServer 類別

TeamFoundationServer 多載

Microsoft.TeamFoundation.Client 命名空間