예제 #1
0
        /// <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();
        }
예제 #2
0
        /// <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());
        }