MonitoringConnectorSubscription Constructor
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)
- 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.
name is null
name is empty or langer than 256
See MonitoringConnectorSubscription for an example of this constructor.
The name
is the Name property. The connectorId
is the MonitoringConnectorId property. The configuration
is the Configuration property.
製品 | バージョン |
---|---|
System Center OM SDK | 2012, 2016, 2019 |