Description

Remove this object instance (McNotifySink) from the sink list of pObject.

Return Type

None  

Syntax

object.DetachFromObject pObject

The DetachFromObject Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McNotifySink.
pObjectRequired. An Object object.

IDispatch* : An IMcObject or an object implementing IMcHasObject.

Remarks

pObject can be an IMcObject or any object implementing the IMcObjConnection interface, which was previously passed to AttachToObject.

Exceptions

Exception: Meaning:

E_NOINTERFACE.