Deploy SSAS Project using TFS Command Line

你说的曾经没有我的故事 提交于 2019-12-02 01:32:02

问题


How do I deploy an SSAS Cube project from TFS 2015?

For regular database projects, it is sqlpackage.exe /publish with publish profile.

What is the command line argument to auto deploy SSAS Project Model into a server?

We are currently using SQL Server 2016 Enterprise.


回答1:


You must use Microsoft.AnalysisServices.Deployment.exe located in

C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio

Syntax

Microsoft.AnalysisServices.Deployment [ASdatabasefile]    
{[/s[:logfile]] | [/a] | [[/o[:output_script_file]] [/d]]}

Make sure to use /s to run in silent mode to prevent opening the wizard:

For more information about the arguments check the following article:

  • Deploy Model Solutions with the Deployment Utility

References

  • Running the Analysis Services Deployment Wizard at the Command Prompt
  • Deploy Model Solutions with the Deployment Utility


来源:https://stackoverflow.com/questions/55425684/deploy-ssas-project-using-tfs-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!