Stop SQL Analysis Services Service

Microsoft.SQLServer.2008.AnalysisServices.StopService (Task)

Stop SQL Analysis Services Service.
Note that SQL Server Analysis Services Windows service is not supported by any edition of SQL Server Express.

Element properties:

TargetMicrosoft.SQLServer.2008.AnalysisServices
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction System.CommandExecuter Default

Source Code:

<Task ID="Microsoft.SQLServer.2008.AnalysisServices.StopService" Target="SQL2008Core!Microsoft.SQLServer.2008.AnalysisServices" Accessibility="Internal" Enabled="true" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>net stop $Target/Property[Type="SQL!Microsoft.SQLServer.AnalysisServices"]/ServiceName$ /y</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>