Account.AutoDiscoverConnectionMode Property (Outlook)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns an OlAutoDiscoverConnectionMode constant that specifies the type of connection to use for the auto-discovery service of the Microsoft Exchange server that hosts the account mailbox. Read-only.

expression .AutoDiscoverConnectionMode

expression A variable that represents an Account object.

This property is similar to the AutoDiscoverConnectionMode property of the NameSpace object, except that this property applies to the account for which auto-discovery is completed and not necessarily to the primary Exchange account.