Disconnect Method

Removes a property connection that was built using Connect.

Syntax

object.Disconnect bstrPropertyName

Properties

The Disconnect method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bstrPropertyName

String. The name of the property that has the connection.

Remarks

If more that one connection is built for a single property, this method deletes all of the connections.

 

Example

Applies To