/// <summary> /// Gets a list of product categories from WSUS /// </summary> /// <param name="server"> /// Object representing the WSUS server /// </param> /// <returns> /// Object representing the list of product categories /// </returns> public static UpdateCategoryCollection GetRootUpdateCategories(IUpdateServer server) { if (server == null) { throw new ArgumentNullException("server"); } return server.GetRootUpdateCategories(); }
/// <summary> /// Gets a list of product categories from WSUS /// </summary> /// <param name="server"> /// Object representing the WSUS server /// </param> /// <returns> /// Object representing the list of product categories /// </returns> public static UpdateCategoryCollection GetRootUpdateCategories(IUpdateServer server) { if (server == null) { throw new ArgumentNullException("server"); } return(server.GetRootUpdateCategories()); }