DeviceAccountConfiguration.OutgoingServerCredential 属性

定义

获取或设置发送邮件服务器的密码。

public:
 property PasswordCredential ^ OutgoingServerCredential { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential OutgoingServerCredential();

void OutgoingServerCredential(PasswordCredential value);
public PasswordCredential OutgoingServerCredential { get; set; }
var passwordCredential = deviceAccountConfiguration.outgoingServerCredential;
deviceAccountConfiguration.outgoingServerCredential = passwordCredential;
Public Property OutgoingServerCredential As PasswordCredential

属性值

传出邮件服务器的密码。

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
应用功能
userDataAccountsProvider

适用于