DisconnectObject

Description

Releases any object that is connected to the specified OLEObject variable.

Applies to

OLEObject objects

Syntax

oleobject.DisconnectObject ( )

Returns

Integer. Returns 0 if it succeeds and a negative value if an error occurs.