Partager via


_NameSpace.AutoDiscoverXml Property

Returns a String (string in C#) that represents information in XML retrieved from the auto-discovery service of an Exchange server. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

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

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

Property Value

Type: System.String

Remarks

The returned string of XML contains information about various Web services (for example, availability service and unified messaging service) and available servers.

An error is returned if the active profile does not contain an account for Microsoft Exchange Server 2007 or later.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace