DataRecordset.DataAsXML Property

Visio Automation Reference

Returns an XML string that fully describes a data recordset and conforms to the Microsoft ActiveX® Data Objects (ADO) classic XML schema. Read-only.

ms195824.vs_note(en-us,office.12).gif  Note
This Visio object or member is available only to licensed users of Microsoft Office Visio Professional 2007.

Version Information
 Version Added:  Visio 2007

Syntax

expression.DataAsXML

expression   An expression that returns a DataRecordset object.

Return Value
String

Remarks

The string returned by DataAsXML contains all the rows in the data recordset with Microsoft Office Visio row IDs pre-pended to them.

The string returned by DataAsXML contains all the valid rows and columns in the data recordset that was imported as well as an additional column, named _Visio_RowID_, inserted as the first column, that assigns a unique row ID to each row in the data recordset.

See Also