启动 SQL Analysis Services 服务
Microsoft.SQLServer.2012.AnalysisServices.StartService (Task)
启动 SQL Analysis Services 服务。
请注意,任何版本的 SQL Server Express 均不支持 SQL Server Analysis Services Windows 服务。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SQLServer.2012.AnalysisServices.StartService" Target="SQL2012Core!Microsoft.SQLServer.2012.AnalysisServices" Accessibility="Internal" Enabled="true" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>net start $Target/Property[Type="SQL!Microsoft.SQLServer.AnalysisServices"]/ServiceName$</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>