Share via


FrameworkBase.Cleanup Method

Removes any stored information about the specified connector.

 public abstract void Cleanup(
    Guid registrationId
);

Parameters

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

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 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom.Connector.V2

Assembly: MomConnectorFrameworkV2 (in MomConnectorFrameworkV2.dll)

See Also

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