ConnectorFrameworkAdministration.DeleteConnectorSubscription Method
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.
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.