Share via


SmtpNetworkElement.Host 屬性

定義

取得或設定 SMTP 伺服器的名稱。

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

屬性值

字串,表示要連接至的 SMTP 伺服器名稱。

屬性

適用於