# ESB_DBFILEINFO_T

This structure contains information on an index or data file retrieved by EsbListDbFiles().

    Type ESB_DBFILEINFO_T
      AppName         As String * ESB_APPNAMELEN
      DbName          As String * ESB_DBNAMELEN
      FilePath        As String * ESB_FILENAMELEN
      FileSize        As Long
      FileSequenceNum As Long
      FileCount       As Long
      FileType        As Integer
      FileOpen        As Integer
    End Type

VB Data Type | Field | Description
As String * ESB_APPNAMELEN | AppName | Application name
As String * ESB_DBNAMELEN | DbName | Database Name
As String * ESB_FILENAMELEN | FilePath | File path
As Long | FileSize | File size in bytes
As Long | FileSequenceNum | The 1-based sequence number of the file within the set of files of its FileType for the specified database
As Long | FileCount | Number of files of its FileType returned
As Integer | FileType | One of the following types of files: ESB_FILETYPE_INDEX ESB_FILETYPE_DATA
As Integer | FileOpen | Flag indicating whether the file is open: 0 if the file is closed, nonzero if the file is open