Compartir a través de


EmailTraceListenerData.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 and sets the SMTP port.

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

Syntax

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

See Also

EmailTraceListenerData Class

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration 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.