Share via


FrameworkBase.Cleanup Method

Removes any stored information about the specified connector.

 public abstract void FrameworkBase.Cleanup();

Parameters

  • registrationId
    The connector's registration ID. The registration ID is obtained from the initial call to the FrameworkBase.Setup method.

Exceptions

Exception Type Condition
System.InvalidOperationException The registrationId value is valid, or the connector is still in an initialized state.

Remarks

The Cleanup method should only be called when permanently removing the connector program. After calling the Cleanup method, the connector will need to complete the entire registration process again to collect alert data. This involves calling the FrameworkBase.Setup method, followed by a call to the FrameworkBase.Initialize method. The Cleanup method also acknowledges any remaining or new unacknowledged data.

To temporarily remove the connector from MCF, without removing the associated resolution state and other stored information, use the Uninitialize method.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2000 SP1 or later

Namespace: Microsoft.EnterpriseManagement.Mom.Connector

Assembly: MomConnectorFramework (in MomConnectorFramework.dll)

See Also

FrameworkBase.Setup Method | FrameworkBase.Initialize Method | FrameworkBase.Uninitialize Method | FrameworkBase Class | FrameworkBase Members