共用方式為


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

適用於