_Account.ExchangeMailboxServerName property

Office 2013 and later

Returns a String (string in C#) value that represents the name 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)

string ExchangeMailboxServerName { get; }

Property value

Type: System.String

This property is similar to the ExchangeMailboxServerName property of the NameSpace object, except that this property applies to the Exchange Server that hosts the account mailbox, and not necessarily to the primary Exchange account.

If an Exchange mailbox is not associated with this account, this property returns an empty string.