MonitoringConnectorSubscription(String, Guid, AlertSubscriptionConfiguration) 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.
Constructor a new MonitoringConnectorSubscription.
public:
MonitoringConnectorSubscription(System::String ^ name, Guid connectorId, Microsoft::EnterpriseManagement::Administration::AlertSubscriptionConfiguration ^ configuration);
public MonitoringConnectorSubscription (string name, Guid connectorId, Microsoft.EnterpriseManagement.Administration.AlertSubscriptionConfiguration configuration);
new Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription : string * Guid * Microsoft.EnterpriseManagement.Administration.AlertSubscriptionConfiguration -> Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription
Public Sub New (name As String, connectorId As Guid, configuration As AlertSubscriptionConfiguration)
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.