This project contains an c# utility class (CustomDataRefreshUtils) to refresh a PowerPivot file in SharePoint 2010.
SharePoint 2010 doesn't allow schedule PowerPivot refreshes of less than 1 day, but with this utility you could refresh PowerPivot files on demand.
To compile the CustomDataRefreshUtils class you have to add to your project the "Microsoft.AnalysisServices.SharePoint.Integration.DLL" assembly file that is in "C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies" folder.
Previously It's necesary that you register a schedule from your PowerPivot file.
Disclaimer: This source code is provided "as is" and without warranties as to performance. This code it's not supported by Microsoft and for the author/s, this code it's only for developer scenarios.