Ejemplo n.º 1
0
 /// <summary>
 /// Method to get the Database Version.
 /// </summary>
 /// <param name="version">Database version</param>
 /// <returns>Error code if any</returns>
 public static ResultCodeEnum GetDatabaseVersion(out string version)
 {
     if (HistoryLoggerConfiguration.Used)
     {
         return(HistoryLogger.GetDatabaseVersion(out version));
     }
     else
     {
         version = "";
         return(ResultCodeEnum.RequestAccepted);
     }
 }