How To Determine If a CDO (1.x) Session Is Online or Offline from VB (181035)
The information in this article applies to:
- Collaboration Data Objects (CDO) 1.21
- Collaboration Data Objects (CDO) 1.0a
- Collaboration Data Objects (CDO) 1.1
- Collaboration Data Objects (CDO) 1.2
- Microsoft Visual Basic Standard Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
This article was previously published under Q181035 SUMMARY
When an application logs on to Exchange Server using a profile that
includes an offline store (OST), it may be necessary to determine the
online/offline status of the store programmatically. This information is
found in a MAPI property (PR_STORE_OFFLINE) that is set on the Message
Store object. The PR_STORE_OFFLINE property is a Boolean property that is
True if the store is offline and False if the store is online.
From CDO (1.x), the PR_STORE_OFFLINE property is exposed as a member of the
Fields collection of an InfoStore object.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbhowto kbMsg KB181035 |
---|
|