Returns an XML DataSet, containing an inline schema describing the data and the DataSet's DiffGram.
expression.GenerateDataSetDiffGram(ByVal pNode As IXMLDocumentObject) As IXMLDocumentObject
expression Required. An expression that returns a reference to a WebServiceAdapter object.
pNode Required IXMLDocumentObject. An XML Document Object Model (DOM) node that contains the XML data of the DataSet whose DiffGram will be created.
Security Level
2: Can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
Remarks
The DiffGram for the input pNode is generated using the sibling node originalData to compute the difference between the originalData and the input pNode.
Note This object model member is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Service Pack 1 or later is not installed. Any form that implements this object model member in its code will generate an error message if it is opened in InfoPath when service pack features are disabled or unavailable.