public SqlConnection GetConnectionFromId(int connectionNumber)
{
SqlConnection connx;
try
{
connx = ConnxObject.TSConnectionsCollection[connectionNumber];
}
catch
{
throw new TSLibraryException(ErrCode.Enum.Connection_Not_Found,
String.Format("TimeSeriesLibrary does not have an open connection number {0}",
connectionNumber));
}
return connx;
}