COMAddIn.Connect property

Returns or sets the state of the connection for the specified COMAddIn object.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

bool Connect { get; set; }

Property value

Type: System.Boolean

The Connect property returns True if the add-in is active; it returns False if the add-in is inactive. An active add-in is registered and connected; an inactive add-in is registered but not currently connected.