Links
TADOSqlManagerQuery Component References
TADOSqlManagerQuery::GetDBProperties Method
__fastcall bool GetDBProperties(TTntStringList* DBProperties, WideString DBName, bool DBFiles);

Reports information about a specified database. 

DBProperties: Database property list 

DBName: Database name 

DBFiles: If true, report database's files 

After return, DBProperties will contain XML data in the following format:

  • <DBProperties>
    • <Name></Name>
    • <Size></Size>
    • <Owner></Owner>
    • <DateCreated></DateCreated>
    • <Level></Level>
    • <Status></Status>
    • <DBFiles>
      • <File>
      • <Name></Name>
      • <FileGroup></FileGroup>
      • <Size></Size>
      • <Path></Path>
      • <MaxSize></MaxSize>
      • <Growth></Growth>
      • <Usage></Usage>
      • </File>
    • </DBFiles>
  • </DBProperties>
Copyright (c) 2006. All rights reserved.
What do you think about this topic? Send feedback!