Initializes the SmtpNotificationEndpoint with the endpoint's name, transport protocol, and primary server. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim name As String
Dim recipientProtocol As String
Dim primaryServer As SmtpServer

Dim instance As New SmtpNotificationEndpoint(name, recipientProtocol, primaryServer)

Syntax

Visual Basic
Public Sub New ( _
		name As String, _
		recipientProtocol As String, _
		primaryServer As SmtpServer _
)
C#
public SmtpNotificationEndpoint (
		string name,
		string recipientProtocol,
		SmtpServer primaryServer
)
C++
public:
SmtpNotificationEndpoint (
		String^ name, 
		String^ recipientProtocol, 
		SmtpServer^ primaryServer
)
J#
public SmtpNotificationEndpoint (
		String name, 
		String recipientProtocol, 
		SmtpServer primaryServer
)
JScript
public function SmtpNotificationEndpoint (
		name : String, 
		recipientProtocol : String, 
		primaryServer : SmtpServer
)

Parameters

name

A user-defined name for the endpoint.

recipientProtocol

The transport protocol used to deliver notifications to the recipient. For example, smtp.

primaryServer

The SMTP server that relays notifications to the recipient.

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