Microsoft SDK for Java

save

This method of the Recordset class saves (persists) the Recordset in a file or Stream object. save has the following signatures:

save(String fileName)
save(String fileName, int persistFormat)

save(String fileName)

Saves (persists) the Recordset in a file or Stream object.

Syntax

public void save(String fileName);

Parameters

fileName A string that represents the complete path name of the file where the Recordset is to be saved, or a reference to a Stream object.

save(String fileName, int persistFormat)

Saves (persists) the Recordset in a file or Stream object.

Syntax

public void save(String fileName, int persistFormat);

Parameters

fileName A string that represents the complete path name of the file where the Recordset is to be saved, or a reference to a Stream object.
persistFormat An AdoEnums.PersistFormat value that specifies the format in which the Recordset is to be saved (XML or ADTG). The default value is ADTG.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.