Share via


_Account.ExchangeMailboxServerName Property

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)

Syntax

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

value = instance.ExchangeMailboxServerName
[DispIdAttribute()]
string ExchangeMailboxServerName { get; }

Property Value

Type: System.String

Remarks

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.

See Also

Reference

_Account Interface

_Account Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get Information About Multiple Accounts