共用方式為


TfsTeamProjectCollection 建構函式 (RegisteredProjectCollection, ICredentials, ICredentialsProvider)

注意:這個應用程式開發介面現在已經過時。

TfsTeamProjectCollection 初始化類別的新執行個體。

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

語法

'宣告
<ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See constructors which utilize TfsClientCredentials instead.")> _
Public Sub New ( _
    projectCollection As RegisteredProjectCollection, _
    credentials As ICredentials, _
    credentialsProvider As ICredentialsProvider _
)
[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See constructors which utilize TfsClientCredentials instead.")]
public TfsTeamProjectCollection(
    RegisteredProjectCollection projectCollection,
    ICredentials credentials,
    ICredentialsProvider credentialsProvider
)

參數

.NET Framework 安全性

請參閱

參考

TfsTeamProjectCollection 類別

TfsTeamProjectCollection 多載

Microsoft.TeamFoundation.Client 命名空間