/// <summary> /// Returns the exported file of the specified "Export To" operation of /// the specified report from the specified workspace. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupId'> /// The group id /// </param> /// <param name='reportId'> /// The report id /// </param> /// <param name='exportId'> /// The export id /// </param> public static Stream GetFileOfExportToFile(this IReportsOperations operations, Guid groupId, Guid reportId, string exportId) { return(operations.GetFileOfExportToFileAsync(groupId, reportId, exportId).GetAwaiter().GetResult()); }