次の方法で共有


ConnectorFrameworkAdministration.DeleteConnectorSubscription Method (MonitoringConnectorSubscription)

 

Applies To: Operations Manager for System Center 2012

Deletes the specified monitoring connector subscription.

Namespace:   Microsoft.EnterpriseManagement.ConnectorFramework
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public void DeleteConnectorSubscription(
    MonitoringConnectorSubscription connectorSubscription
)
public:
void DeleteConnectorSubscription(
    MonitoringConnectorSubscription^ connectorSubscription
)
member DeleteConnectorSubscription : 
        connectorSubscription:MonitoringConnectorSubscription -> unit
Public Sub DeleteConnectorSubscription (
    connectorSubscription As MonitoringConnectorSubscription
)

Parameters

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.

Examples

The following code deletes a specific subscription.

See Also

GetConnectorSubscription
ConnectorFrameworkAdministration Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top