public bool UpdateField( int TestSetId, string FieldName, string Value) { bool returnValue = false; try { if (!Connect(ServerUrl, Username, Password, Domain, Project)) { Disconnect(); return(false); } TestSetFactory tsFact = tdc.TestSetFactory; TestSet tset = tsFact[TestSetId]; tset[FieldName] = Value; tset.Post(); returnValue = true; } catch (COMException ce) { rr.AddErrorLine(HandleException(ce)); } finally { Disconnect(); } return(returnValue); }