Indicates whether asynchronous download is permitted.
boolValue = oXMLDOMDocument.async objXMLDOMDocument.async = boolValue
Boolean. The property is read/write. Returns True if asynchronous download is permitted; False if not. Default is True.
When set to True, the load method returns control to the caller before the download is finished. You can then use the readyState property to check the status of the download. You can also attach an onreadystatechange handler or connect to the onreadystatechange event to be notified when the ready state changes so that you know when the download is complete.
This member is an extension of the W3C DOM.
The following VBScript example sets the async property of a DOMDocument object to False before loading sample.xml:
Dim xmlDoc xmlDoc.async = false xmlDoc.load("sample.xml")
Applies To: DOMDocument Object