Quickstarts.HistoricalEvents.Server.ReportGenerator.ReadHistoryForWellId C# (CSharp) Method

ReadHistoryForWellId() public method

Reads the report history for the specified time range.
public ReadHistoryForWellId ( ReportType reportType, string uidWell, System.DateTime startTime, System.DateTime endTime ) : DataView
reportType ReportType
uidWell string
startTime System.DateTime
endTime System.DateTime
return System.Data.DataView
        public DataView ReadHistoryForWellId(ReportType reportType, string uidWell, DateTime startTime, DateTime endTime)
        {
            StringBuilder filter = new StringBuilder();

            filter.Append('(');
            filter.Append(BrowseNames.UidWell);
            filter.Append('=');
            filter.Append('\'');
            filter.Append(uidWell);
            filter.Append('\'');
            filter.Append(')');

            return ReadHistory(reportType, filter, startTime, endTime);
        }