Unbind Method

Applies To

OBound

Description

This method breaks the connection between the OBound object and the OBinder to which it has been bound.

Usage

oresult Unbind (void)

Remarks

This method unbinds the OBound object and calls its Shutdown trigger. The Shutdown trigger can return OFAILURE, in which case the Unbinding is canceled.

If the Unbinding is successful, neither the
OBinder nor the OBound is destroyed. Only their relationship is terminated.

Return Value

An oresult indicating whether the operation succeeded (OSUCCESS) or not (OFAILURE).