Export (0) Print
Expand All

_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)

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

value = instance.AutoDiscoverXml

Property Value

Type: System.String

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.

Community Additions

ADD
Show:
© 2014 Microsoft