TimeSeriesLibrary.TSLibrary.DeleteSeries C# (CSharp) Метод

DeleteSeries() публичный Метод

This method deletes a record for a single time series from the database, using the given database connection number and database table name.
public DeleteSeries ( int connectionNumber, String tableName, String traceTableName, int id ) : bool
connectionNumber int The serial number of the connection that is used to access the time series
tableName String The name of the database table that time series will be deleted from
traceTableName String The name of the database table that stores the BLOB for a single trace
id int The ID identifying the record to delete
Результат bool
        public bool DeleteSeries(
                int connectionNumber, String tableName, String traceTableName, int id)
        {
            // Get the connection that we'll pass along.
            SqlConnection connx = GetConnectionFromId(connectionNumber);
            // Construct new TS object with SqlConnection object and table name
            TS ts = new TS(connx, ConnxObject, tableName, traceTableName);

            return ts.DeleteSeries(id);
        }