_Account.AutoDiscoverXml Property

Returns a String (string in C#) that represents information in XML retrieved from the auto-discovery service of the Microsoft Exchange Server that is associated with the account. 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 _Account
Dim value As String

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

Property Value

Type: System.String

Remarks

This property is similar to the AutoDiscoverXml property of the NameSpace object, except that this property applies to the account for which auto-discovery is completed and not necessarily to the primary Exchange account.

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 account is not associated with an Exchange Server that is running Microsoft Exchange Server 2007 or later.

See Also

Reference

_Account Interface

_Account Members

Microsoft.Office.Interop.Outlook Namespace