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)
Syntax
'Declaration
Property Connect As Boolean
Get
Set
'Usage
Dim instance As COMAddIn
Dim value As Boolean
value = instance.Connect
instance.Connect = value
bool Connect { get; set; }
Property Value
Type: System.Boolean
Remarks
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.