NameSpace.AutoDiscoverXml Property
Outlook Developer Reference |
Returns a String that represents information in XML retrieved from the auto-discovery service of an Exchange server. Read-only.
Version Information
Version Added: Outlook 2007
Syntax
expression.AutoDiscoverXml
expression A variable that represents a NameSpace object.
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.
Example
NameSpace.AutoDiscoverXml is an XML string that is returned from the auto-discovery service of the Exchange server. The following code sample shows when this XML string is available during a normal Outlook session:
- When the Application.Startup event occurs, if NameSpace.AutoDiscoverConnectionMode is not equal to olAutoDiscoverConnectionUnknown
- When the NameSpace.AutoDiscoverComplete event occurs, if AutoDiscoverConnectionMode is not equal to olAutoDiscoverConnectionUnknown
Visual Basic for Applications |
---|
|
See Also