_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)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property AutoDiscoverConnectionMode As OlAutoDiscoverConnectionMode
    Get
'Usage
Dim instance As _Account
Dim value As OlAutoDiscoverConnectionMode

value = instance.AutoDiscoverConnectionMode
[DispIdAttribute()]
OlAutoDiscoverConnectionMode AutoDiscoverConnectionMode { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlAutoDiscoverConnectionMode

Remarks

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

Reference

_Account Interface

_Account Members

Microsoft.Office.Interop.Outlook Namespace