次の方法で共有


_NameSpace.ExchangeMailboxServerVersion Property

Returns a String (string in C#) value that represents the full version 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 ExchangeMailboxServerVersion As String
    Get
'Usage
Dim instance As _NameSpace
Dim value As String

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

Property Value

Type: System.String

Remarks

This property returns a string containing the version number of the Exchange server for the active mailbox. The version number has four parts, as follows:

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

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

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