Partager via


_NameSpace.ExchangeMailboxServerName Property

Returns a String (string in C#) value that represents the name of the Exchange server on which the active mailbox is hosted. 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 _NameSpace
Dim value As String

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

Property Value

Type: System.String

Remarks

If an Exchange mailbox is not present in the namespace, this property returns an empty string.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace