Share via


TfsClientCredentials 构造函数 (WindowsCredential, Boolean)

初始化使用指定的windows凭据和默认问题的标记凭据的新 TfsClientCredentials 实例。

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

语法

声明
Public Sub New ( _
    windowsCredential As WindowsCredential, _
    allowInteractive As Boolean _
)
public TfsClientCredentials(
    WindowsCredential windowsCredential,
    bool allowInteractive
)

参数

  • allowInteractive
    类型:System.Boolean
    True,则interactive提示符处授予权限。否则为 false。

.NET Framework 安全性

请参见

参考

TfsClientCredentials 类

TfsClientCredentials 重载

Microsoft.TeamFoundation.Client 命名空间