Share via


EmailTraceListenerNode.SmtpPort Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets the SMTP port to send messages through.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Design.TraceListeners
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Design.dll)

Syntax

'Declaration
<RequiredAttribute> _
PublicPropertySmtpPortAs Integer
[RequiredAttribute]
public int SmtpPort { get; set; }
[RequiredAttribute]
public:
property int SmtpPort {
    int get ();
    voidset (int value);
}
publicfunction getSmtpPort () : int
publicfunction setSmtpPort (value : int)

Field Value

The SMTP port to send messages through.

See Also

EmailTraceListenerNode Class

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Design.TraceListeners Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.