次の方法で共有


SmtpNotificationEndpoint Class

 

Applies To: Operations Manager for System Center 2012

Represents an endpoint for sending notifications using the Simple Mail Transfer Protocol (SMTP). This endpoint allows you to send notifications to email addresses.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Common.MonitoringBase
    Microsoft.EnterpriseManagement.Common.CreatableMonitoringBaseWithId
      Microsoft.EnterpriseManagement.Administration.NotificationEndpoint
        Microsoft.EnterpriseManagement.Administration.SmtpNotificationEndpoint

Syntax

[SerializableAttribute]
public class SmtpNotificationEndpoint : NotificationEndpoint
[SerializableAttribute]
public ref class SmtpNotificationEndpoint : NotificationEndpoint
[<SerializableAttribute>]
type SmtpNotificationEndpoint = 
    class
        inherit NotificationEndpoint
    end
<SerializableAttribute>
Public Class SmtpNotificationEndpoint
    Inherits NotificationEndpoint

Constructors

Name Description
System_CAPS_pubmethod SmtpNotificationEndpoint(String, String, SmtpServer)

Initializes the SmtpNotificationEndpoint with the endpoint's name, transport protocol, and primary server.

Properties

Name Description
System_CAPS_pubproperty Description

Gets or sets the description of this notification endpoint.(Inherited from NotificationEndpoint.)

System_CAPS_pubproperty DisplayName

Gets or sets a descriptive name for the endpoint.(Inherited from NotificationEndpoint.)

System_CAPS_pubproperty Id

(Inherited from CreatableMonitoringBaseWithId.)

System_CAPS_pubproperty ManagementGroup

The connection management group connection used by this object.(Inherited from NotificationEndpoint.)

System_CAPS_pubproperty ManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubproperty MaxPrimaryRecipientsPerMail

The maximum number of primary recipients to whom a notification can be sent.

System_CAPS_pubproperty Name

Gets or sets the name of the endpoint.(Inherited from NotificationEndpoint.)

System_CAPS_pubproperty PrimaryServer

The Simple Mail Transfer Protocol (SMTP) server that relays notifications to recipients.

System_CAPS_pubproperty PrimaryServerSwitchBackIntervalSeconds

The number of seconds to attempt delivery to the primary SMTP server before switching to a secondary server.

System_CAPS_pubproperty RecipientProtocol

Gets or sets the name of the protocol used to send notifications to this endpoint.(Inherited from NotificationEndpoint.)

System_CAPS_pubproperty SecondaryServers

The SMTP servers to which notifications can be sent if delivery to the primary SMTP server fails.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from CreatableMonitoringBaseWithId.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from CreatableMonitoringBaseWithId.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Reconnect(EnterpriseManagementGroup)

Reconnects to the specified management group after the object has been disconnected.(Inherited from NotificationEndpoint.)

System_CAPS_pubmethod ToString()

(Inherited from MonitoringBase.)

System_CAPS_pubmethod Update()

Updates the operational database with the modified property values.(Inherited from NotificationEndpoint.)

Remarks

After creating an SMTP notification endpoint, you must insert it into the operational database for use in the Management Group by using the InsertNotificationEndpoint method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

GetNotificationEndpoint
GetNotificationEndpoint
GetNotificationEndpoints
Microsoft.EnterpriseManagement.Administration Namespace

Return to top