public GetConnectionFromId ( int connectionNumber ) : |
||
connectionNumber | int | serial number of the connection within the collection |
return |
public SqlConnection GetConnectionFromId(int connectionNumber) { try { // let the sibling method in the wrapped TSLibrary object contain the logic return(TSLib.GetConnectionFromId(connectionNumber)); } catch (Exception e) { ErrorMessage = e.Message; return(null); } }