Share via


SmtpServer Constructor (String)

 

Applies To: Operations Manager for System Center 2012

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

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

Syntax

public SmtpServer(
    string address
)
public:
SmtpServer(
    String^ address
)
new : 
        address:string -> SmtpServer
Public Sub New (
    address As String
)

Parameters

  • address
    Type: System.String

    The address of the SMTP server (for example, smtp.example.company.com or 192.168.2.35).

See Also

SmtpServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top