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)
Usage
Dim cOMAddIn1 As COMAddIn
Dim returnValue As Boolean
returnValue = cOMAddIn1.Connect
Dim sampleValue As Boolean
cOMAddIn1.Connect = sampleValue
Syntax
Property Connect() As Boolean
bool Connect {get; set;}
property Boolean Connect{
Boolean get();
Void set(Boolean);
}
public boolean get_Connect();
public void set_Connect(boolean);
function get Connect() : Boolean;
function set Connect(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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
COMAddIn Interface
Microsoft.Office.Core Namespace