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)

Usage

Visual Basic
Dim address As String

Dim instance As New SmtpServer(address)

Syntax

Visual Basic
Public Sub New ( _
		address As String _
)
C#
public SmtpServer (
		string address
)
C++
public:
SmtpServer (
		String^ address
)
J#
public SmtpServer (
		String address
)
JScript
public function SmtpServer (
		address : String
)

Parameters

address

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

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also