/// <summary> /// Get the AFS project id, if any, associated with a project node name /// </summary> /// <param name="projNodeName"></param> /// <returns></returns> public static int GetAfsProjectId(string projNodeName) { int id; string result = CommandDao.Execute("ProjectTreeFactory.GetAfsProjectId " + projNodeName); if (int.TryParse(result, out id)) { return(id); } else { return(-1); } }
/// <summary> /// Get the AFS project id, if any, associated with a project node name /// </summary> /// <param name="projNodeName"></param> /// <returns></returns> public static string GetProjectHtmlDescription(string projNodeName) { string html = CommandDao.Execute("ProjectTreeFactory.GetProjectHtmlDescription " + projNodeName); return(html); }