ForcedResync Property
When you load and parse an XML document from a URL that is not local (i.e. is on a different web site), that document may be cached by any number of servers on the line. If you are parsing an XML document that changes often, and it is important that your parser always retrieves the latest version of the document, you can set this property to true
. When you set this property to true
, it causes the XML document to not be cached; instead it is retrieved from its source server each time that you reparse the document.
This property is supported in MSXML 3.0 and 6.0. The default value is true
.
JScript Syntax
domObj.setProperty(strProp, vBool);
vBool = domObj.getProperty(strProp);
Visual Basic Syntax
domObj.setProperty
(strProp, vBool)
vBool = domObj.getProperty
(strProp)
C\C++ Syntax
HRESULT setProperty(BSTR strProp, VARIANT vBool);
HRESULT getProperty(BSTR strProp, VARIANT* vBool);
Parameters
strProp
A BSTR string whose value is "ForcedResync".
vBool
A VARIANT_BOOL value of true
or false
.
Versioning
This property is supported in MSXML 3.0 and 6.0. The default value is true
.
Applies to
Interface: IXMLDOMDocument2
Methods: setProperty | getProperty