/// <summary> /// Initializes a new instance of the ExportReportPage class. /// </summary> /// <param name="pageName">The page name</param> /// <param name="visualName">Visual name to be exported. Should be /// provided in case only a single visual from this page is /// exported</param> /// <param name="bookmark">(Optional) The bookmark to be applied on the /// page</param> public ExportReportPage(string pageName = default(string), string visualName = default(string), PageBookmark bookmark = default(PageBookmark)) { PageName = pageName; VisualName = visualName; Bookmark = bookmark; CustomInit(); }
/// <summary> /// Initializes a new instance of the PowerBIReportExportConfiguration /// class. /// </summary> /// <param name="settings">The settings to be applied in this Export to /// file job</param> /// <param name="defaultBookmark">The default bookmark to apply on all /// pages which don't have a specific bookmark</param> /// <param name="pages">List of pages to export and their /// properties</param> /// <param name="identities">List of identities to use for RLS /// rules</param> public PowerBIReportExportConfiguration(ExportReportSettings settings = default(ExportReportSettings), PageBookmark defaultBookmark = default(PageBookmark), IList <ExportReportPage> pages = default(IList <ExportReportPage>), IList <EffectiveIdentity> identities = default(IList <EffectiveIdentity>)) { Settings = settings; DefaultBookmark = defaultBookmark; Pages = pages; Identities = identities; CustomInit(); }