Subtext.Framework.BlogInfo.GetBlogsByHost C# (CSharp) Method

GetBlogsByHost() public static method

Gets the active blog count by host.
public static GetBlogsByHost ( string host, int pageIndex, int pageSize, ConfigurationFlags flags ) : IPagedCollection
host string The host.
pageIndex int Zero based index of the page to retrieve.
pageSize int Number of records to display on the page.
flags ConfigurationFlags Configuration flags to filter blogs retrieved.
return IPagedCollection
        public static IPagedCollection<BlogInfo> GetBlogsByHost(string host, int pageIndex, int pageSize, ConfigurationFlags flags)
        {
            if (String.IsNullOrEmpty(host))
                throw new ArgumentNullException("host", "Host must not be null or empty.");

            return ObjectProvider.Instance().GetPagedBlogs(host, pageIndex, pageSize, flags);
        }