SmtpServer Class

 

Applies To: Operations Manager for System Center 2012

Represents a Simple Mail Transfer Protocol (SMTP) server that sends outgoing e-mail notifications.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Administration.SmtpServer

Syntax

[SerializableAttribute]
public class SmtpServer
[SerializableAttribute]
public ref class SmtpServer 
[<SerializableAttribute>]
type SmtpServer = class end
<SerializableAttribute>
Public Class SmtpServer

Constructors

Name Description
System_CAPS_pubmethod SmtpServer(String)

Initializes the SmtpServer class by supplying the address of the SMTP server.

Properties

Name Description
System_CAPS_pubproperty Address

Gets or sets the address of the SMTP server.

System_CAPS_pubproperty AuthenticationType

Gets or sets the authentication protocol defined for the SMTP server.

System_CAPS_pubproperty PortNumber

Gets or sets the number of the port used to communicate with the SMTP server.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

You can get or set the SMTP servers associated with a notification endpoint using the endpoint's PrimaryServer and SecondaryServers properties.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.EnterpriseManagement.Administration Namespace

Return to top