ConnectorFrameworkAdministration.Cleanup Method (MonitoringConnector)
Applies To: Operations Manager for System Center 2012
Deletes the specified monitoring connector.
Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void Cleanup(
MonitoringConnector monitoringConnector
)
public:
void Cleanup(
MonitoringConnector^ monitoringConnector
)
member Cleanup :
monitoringConnector:MonitoringConnector -> unit
Public Sub Cleanup (
monitoringConnector As MonitoringConnector
)
Parameters
monitoringConnector
Type: Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorThe MonitoringConnector object to delete.
Remarks
The Cleanup method should be called when a monitoring connector is to be removed permanently.
Before performing a Cleanup, remove any subscriptions associated with the monitoring connector and make sure the monitoring connector is uninitialized.
Examples
The following is an example of using the Cleanup method to remove all monitoring connectors from the Operations Manager.
See Also
ConnectorFrameworkAdministration Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace
Return to top