SmtpNetworkElement::Host Property

 

Gets or sets the name of the SMTP server.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

public:
[ConfigurationPropertyAttribute("host")]
property String^ Host {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

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

.NET Framework
Available since 2.0
Return to top
Show: