Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

GetXMLToFile (ODynaset) Method

Applies To

ODynaset

Description

Generates a file containing an XML document that is based on the contents of the dynaset.

Usage

void GetXMLToFile(const char *filename, unsigned long startrow = 0,

unsigned long maxrows = 0) const throw(OException)

Arguments
Description
filename
The file name where the XML is written. Existing files by the same name are overwritten.

startrow
The row identifier indicating which row to start from (a zero based integer index such as that passed to ODynaset.MoveTo). If rows have been deleted in this ODynaset, some row identifiers may not be valid. In this case the next valid row is used as the starting point.

maxrows
The maximum number of rows to retrieve (if the end of the recordset is reached, fewer rows may be returned). The default value of zero means that all rows are returned