Share via


TeamFoundationServer.Credentials 属性

获取 TeamFoundationServer 对象的凭据。

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

语法

声明
Public Property Credentials As ICredentials
public ICredentials Credentials { get; internal set; }

属性值

类型:System.Net.ICredentials
此 TeamFoundationServer 对象的凭据。

备注

此对象必须是 NetworkCredential 或 CredentialCache 对象。

.NET Framework 安全性

请参见

参考

TeamFoundationServer 类

Microsoft.TeamFoundation.Client 命名空间