Store.ExchangeStoreType (Outlook)
Returns a constant in the OlExchangeStoreType enumeration that indicates the type of an Exchange store. Possible return values are olAdditionalExchangeMailbox - Specifies an additional Exchange mailbox store, olExchangeMailbox - Specifies an Exchange delegate mailbox store, olExchangePublicFolder - Specifies an Exchange Public Folder store, olNotExchange - Specifies that the store is not an Exchange store, olPrimaryExchangeMailbox - Specifies a primary Exchange mailbox store.
The ExchangeStoreType property distinguishes among different Exchange store types, such as primary Exchange mailbox, Exchange mailbox, Public Folder store, or non-Exchange store. This property does not distinguish among every type of store including Hotmail, HTTP, IMAP, and so forth. Use Account.AccountType for the type of server associated with an email account, such as Exchange, HTTP, IMAP, or POP3.
Dim oesExchangeStoreType As OlExchangeStoreType
oesExchangeStoreType = Session.DefaultStore.ExchangeStoreType