Fixed font Subject: Re: How to find out wether Echange is disconnected with outlook or
Author: Ken Slovak - [MVP - Outlook] Date: 28 Sep 2009
References: 1 2 3 4 5
I'm not sure if that property is only checked on startup, or with
send/receives or at intervals. You'll have to do some experimentation to
check that out. If it's during a send/receive you can initiate one on
SyncObjects.Item(1) and then get the property. Otherwise you'd have to see
if an alternate API such as Redemption is more accurate or if that's the
best you can do.

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm

"Stop method of Sync object is not workin"
<StopmethodofSyncobjectisnotworkin@discussions.microsoft.com> wrote in
message news:E5764CE6-7075-482B-8C09-08944A1F9700@microsoft.com...
> Hi Ken
>
> That property showing olCachedconnected even it is disconnected from
> Exchange, my Outlook window is showing as disconnected but
> NameSpace.ExchangeConnectionMode is showed as Connected.
>
> Note: especially if exchange information store is stopped it is happening.
>
> Please help to resolve this problem
>
> Thanks in advance