_Account.AutoDiscoverConnectionMode Property

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.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)


<DispIdAttribute()> _
ReadOnly Property AutoDiscoverConnectionMode As OlAutoDiscoverConnectionMode
Dim instance As _Account
Dim value As OlAutoDiscoverConnectionMode

value = instance.AutoDiscoverConnectionMode
OlAutoDiscoverConnectionMode AutoDiscoverConnectionMode { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlAutoDiscoverConnectionMode


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.

See Also


_Account Interface

_Account Members

Microsoft.Office.Interop.Outlook Namespace