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

プロパティ値

String

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

属性

注釈

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

適用対象

こちらもご覧ください