SmtpNotificationEndpoint Constructor (String, String, SmtpServer)
Applies To: Operations Manager for System Center 2012
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)
Syntax
public SmtpNotificationEndpoint(
string name,
string recipientProtocol,
SmtpServer primaryServer
)
public:
SmtpNotificationEndpoint(
String^ name,
String^ recipientProtocol,
SmtpServer^ primaryServer
)
new :
name:string *
recipientProtocol:string *
primaryServer:SmtpServer -> SmtpNotificationEndpoint
Public Sub New (
name As String,
recipientProtocol As String,
primaryServer As SmtpServer
)
Parameters
name
Type: System.StringA user-defined name for the endpoint.
recipientProtocol
Type: System.StringThe transport protocol used to deliver notifications to the recipient. For example, smtp.
primaryServer
Type: Microsoft.EnterpriseManagement.Administration.SmtpServerThe SMTP server that relays notifications to the recipient.
See Also
SmtpNotificationEndpoint Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top