Share via


SmtpServer.Address Property

Definition

Gets/sets the address of this SmtpServer

public:
 property System::String ^ Address { System::String ^ get(); void set(System::String ^ value); };
public string Address { get; set; }
member this.Address : string with get, set
Public Property Address As String

Property Value

Returns a String value that defines the address of the SMTP server (for example, smtp.example.company.com or 192.168.2.35).

Exceptions

value is null

value is empty.

Applies to