SmtpNetworkElement.Host 屬性

定義

取得或設定 SMTP 伺服器的名稱。Gets or sets the name of the SMTP server.

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

屬性值

String

字串,表示要連接至的 SMTP 伺服器名稱。A string that represents the name of the SMTP server to connect to.

屬性

適用於