Product Information > JADE Object Manager Guide > Chapter 4 - JADE System Instrumentation and Diagnosis > JadeDatabaseAdmingetDbFiles Method
JadeDatabaseAdmin::getDbFiles Method
getDbFiles(fileKinds: Integer;
           dbfiles:   DbFileArray input);

The JadeDatabaseAdmin class getDbFiles method populates a DbFile array with references to database files of the kinds specified in the fileKinds parameter, by searching all schemas from the Root Schema down through the schema hierarchy. Use the fileKinds parameter to select files for backup by their kind, or category group. (For details about the kinds of database files that you can select, see the DbFile class kind property or "DbFile Class Constants", in Volume 1 of the JADE Encyclopaedia of Classes.)

You can select multiple file kinds in a single call, by summing the kind constant values. For example, to select user schema files, environmental files, and user data files, you could pass the following value for the fileKinds parameter:

DbFile.Kind_Environmental + DbFile.Kind_User_Schema + DbFile.Kind_User_Data

For an example of this method, see the JadeDatabaseAdmin class getDbFiles method in Volume 1 of the JADE Encyclopaedia of Classes.