_NameSpace.ExchangeConnectionMode Property
Returns an OlExchangeConnectionMode constant that indicates the current connection mode the user is using. Read-only.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
ReadOnly Property ExchangeConnectionMode As OlExchangeConnectionMode
Get
'Usage
Dim instance As _NameSpace
Dim value As OlExchangeConnectionMode
value = instance.ExchangeConnectionMode
[DispIdAttribute()]
OlExchangeConnectionMode ExchangeConnectionMode { get; }
Property Value
Type: Microsoft.Office.Interop.Outlook.OlExchangeConnectionMode
Remarks
If the ExchangeConnectionMode property is olOffline or olDisconnected, the _NameSpace.Offline property will return True . If the ExchangeConnectionMode property is olOnline, olConnected, or olConnectedHeaders, the NameSpace.Offline property will return False.