Edit

Share via


SmtpNetworkElement.Host Property

Definition

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

Property Value

A string that represents the name of the SMTP server to connect to.

Attributes

Applies to