_Account.ExchangeMailboxServerVersion Property

Returns a String (string in C#) that represents the full version number 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 ExchangeMailboxServerVersion { get; }

Property Value

Type: System.String

This property is similar to the ExchangeMailboxServerVersion 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.

This property returns a string that contains the version number of the Exchange server for the account. The version number has the following four parts:

<major version>.<minor version>.<build number>.<revision>

Not all parts may be present in the version number, depending on the version information that is supplied by the Exchange Server. For example, this property returns "6.5.7638" for Microsoft Exchange Server 2003 Service Pack 2.

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