MonitoringConnectorSubscription Constructor

Definition

Constructor a new MonitoringConnectorSubscription.

C#
public MonitoringConnectorSubscription (string name, Guid connectorId, Microsoft.EnterpriseManagement.Administration.AlertSubscriptionConfiguration configuration);

Parameters

name
String

The name of the subscription.

connectorId
Guid

The globally unique identifier (GUID) of the monitoring connector for this subscription.

configuration
AlertSubscriptionConfiguration

An AlertSubscriptionConfiguration object that is used to initialize the Configuration property. The property is used for criteria to filter alerts.

Exceptions

name is null

name is empty or langer than 256

Examples

See MonitoringConnectorSubscription for an example of this constructor.

Remarks

The name is the Name property. The connectorId is the MonitoringConnectorId property. The configuration is the Configuration property.

Applies to

製品 バージョン
System Center OM SDK 2012, 2016, 2019