PreviewTeamDeviceCredentials 类

定义

提供设备帐户的凭据 (而不是 Surface Hub 上的用户帐户) 。 应用必须具有 teamEditionDeviceCredential 功能。 凭据以纯文本形式未加密提供。

public ref class PreviewTeamDeviceCredentials sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PreviewTeamDeviceCredentials final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PreviewTeamDeviceCredentials
function PreviewTeamDeviceCredentials()
Public NotInheritable Class PreviewTeamDeviceCredentials
继承
Object Platform::Object IInspectable PreviewTeamDeviceCredentials
属性

Windows 要求

设备系列
Windows Team Extension SDK (在 10.0.19041.0 中引入)
API contract
Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract (在 v1.0 中引入)

构造函数

PreviewTeamDeviceCredentials()

用于初始化 PreviewTeamDeviceCredentials 对象的构造函数。

属性

DomainUserName

设备帐户的域用户名。

Password

设备帐户密码。

UserPrincipalName

用户主体名称 (设备帐户上的 UPN) 。

适用于