次の方法で共有


MonitoringConnectorSubscription Class

 

Applies To: Operations Manager for System Center 2012

Represents a monitoring connector subscription.

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

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Common.MonitoringBase
    Microsoft.EnterpriseManagement.Common.CreatableMonitoringBaseWithId
      Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod MonitoringConnectorSubscription(String, Guid, AlertSubscriptionConfiguration)

Initializes a new MonitoringConnectorSubscription object.

Properties

Name Description
System_CAPS_pubproperty Configuration

Gets or sets the configuration. The configuration contains the criteria that is used to filter alerts.

System_CAPS_pubproperty Description

Gets or sets the descriptive text for the connector subscription.

System_CAPS_pubproperty DisplayName

Gets or sets the display name of the connector subscription.

System_CAPS_pubproperty Id

(Inherited from CreatableMonitoringBaseWithId.)

System_CAPS_pubproperty ManagementGroup

The connection management group connection used by this object.

System_CAPS_pubproperty ManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubproperty MonitoringConnectorId

Gets or sets a globally unique identifier (GUID) for the connector that the subscription is for.

System_CAPS_pubproperty Name

Gets or sets the name for the connector subscription.

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.(Overrides MonitoringBase.Reconnect(EnterpriseManagementGroup).)

System_CAPS_pubmethod ToString()

(Inherited from MonitoringBase.)

System_CAPS_pubmethod Update()

Updates the connector subscription.

Remarks

For more information about connectors, see Connecting to External Systems by Using Operations Manager Connectors. Monitoring connectors subscribe to alerts and forwards them to other products. A connector must have a subscription to allow alerts to pass.

A subscription can be seen in the Operations Manager. In the Administration pane select the Product Connectors, and right-click a specific Product Connector to access its properties. You can view a subscription by selecting the specific subscription and clicking Edit.

Examples

The following example assumes there is at least one connector created in the Operations Manager. The example gets the first connector and adds a subscription to that connector.

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

Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top