Share via


ConnectorFrameworkAdministration.DeleteConnectorSubscription Method

Definition

Deletes the subscription.

public:
 void DeleteConnectorSubscription(Microsoft::EnterpriseManagement::ConnectorFramework::MonitoringConnectorSubscription ^ connectorSubscription);
public void DeleteConnectorSubscription (Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription connectorSubscription);
member this.DeleteConnectorSubscription : Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription -> unit
Public Sub DeleteConnectorSubscription (connectorSubscription As MonitoringConnectorSubscription)

Parameters

connectorSubscription
MonitoringConnectorSubscription

The subscription to delete.

Exceptions

connectorSubscription invalid. See inner exception for details.

Examples

The following code deletes a specific subscription.

Remarks

After a subscription is deleted, new alerts will not be marked for a monitoring connector. A monitoring connector subscription defines the criteria that are used to identify alerts that should be marked for a particular connector.

Applies to

See also