Programmatically Changing Datasource and Refreshing PowerPivot
-
2012年4月4日 下午 06:29
I am trying to find out a way to programmatically (using C#) change the datasource of an excel file linked to powerpivot from one SQL Server connection to another and automatically refresh all the data using this new connection without having to do this manually using the interface. Can this be done?
所有回覆
-
2012年4月10日 上午 08:31版主
It seems that you have to change the connection string manually, besides, I will recommend you could submit a feedback to the Microsoft Connect at this link https://connect.microsoft.com/SQLServer/Feedback This connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.Challen Fu
TechNet Community Support
- 已標示為解答 Challen FuModerator 2012年4月12日 下午 02:05
-
2012年4月10日 下午 05:30
Thanks Challen.
I will look into that Microsoft connect site.
-
2013年2月7日 下午 05:23
Hi SP10,
I was wondering whether you had finally found a solution to your problem? I am facing the same issue now, I would appreciate if you could shed some light.
Thanks,

