SmtpNetworkElement.Password プロパティ

定義

SMTP メール サーバーへの接続に使用するユーザー パスワードを取得または設定します。

public:
 property System::String ^ Password { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("password")]
public string Password { get; set; }
[<System.Configuration.ConfigurationProperty("password")>]
member this.Password : string with get, set
Public Property Password As String

プロパティ値

SMTP メール サーバーへの接続に使用するパスワードを表す文字列。

属性

注釈

DefaultCredentialsの設定は、UserNamePasswordの設定よりも優先されます。 UserName Passwordは、DefaultCredentialsfalseに設定されている場合にのみ使用されます。

適用対象

こちらもご覧ください