共用方式為


TfsTeamProjectCollection 建構函式 (Uri, ICredentials, ICredentialsProvider, IdentityDescriptor)

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

初始化 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 ( _
    uri As Uri, _
    credentials As ICredentials, _
    credentialsProvider As ICredentialsProvider, _
    identityToImpersonate As IdentityDescriptor _
)
[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See constructors which utilize TfsClientCredentials instead.")]
public TfsTeamProjectCollection(
    Uri uri,
    ICredentials credentials,
    ICredentialsProvider credentialsProvider,
    IdentityDescriptor identityToImpersonate
)

參數

.NET Framework 安全性

請參閱

參考

TfsTeamProjectCollection 類別

TfsTeamProjectCollection 多載

Microsoft.TeamFoundation.Client 命名空間