The Detach method of the IRemoteDebugManager interface detaches the IRemoteDebugManagerCallback interface that was registered by a previous call to RegisterCallback. This method should be called if the debugger exits before the Java process being debugged.
HRESULT Detach(void)
S_OK Success.
E_FAIL Failure.