SmtpNotificationEndpoint(String, String, SmtpServer) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new SmtpNotificationEndpoint.
public:
SmtpNotificationEndpoint(System::String ^ name, System::String ^ recipientProtocol, Microsoft::EnterpriseManagement::Administration::SmtpServer ^ primaryServer);
public SmtpNotificationEndpoint (string name, string recipientProtocol, Microsoft.EnterpriseManagement.Administration.SmtpServer primaryServer);
new Microsoft.EnterpriseManagement.Administration.SmtpNotificationEndpoint : string * string * Microsoft.EnterpriseManagement.Administration.SmtpServer -> Microsoft.EnterpriseManagement.Administration.SmtpNotificationEndpoint
Public Sub New (name As String, recipientProtocol As String, primaryServer As SmtpServer)
Parameters
- name
- String
The name of this endpoint.
- recipientProtocol
- String
The recipient protocol.
- primaryServer
- SmtpServer
The primary smtp server.
Exceptions
primaryServer, recipientProtocol or name is null
recipientProtocol or name is empty or name is greater than 256 characters.