Share via


SmtpNotificationEndpoint Constructor (String, String, SmtpServer)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

'Usage
Dim name As String
Dim recipientProtocol As String
Dim primaryServer As SmtpServer

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    recipientProtocol As String, _
    primaryServer As SmtpServer _
)
public SmtpNotificationEndpoint (
    string name,
    string recipientProtocol,
    SmtpServer primaryServer
)
public:
SmtpNotificationEndpoint (
    String^ name, 
    String^ recipientProtocol, 
    SmtpServer^ primaryServer
)
public SmtpNotificationEndpoint (
    String name, 
    String recipientProtocol, 
    SmtpServer primaryServer
)
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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

SmtpNotificationEndpoint Class
SmtpNotificationEndpoint Members
Microsoft.EnterpriseManagement.Administration Namespace