SQL Reporting Services-Dienst auf dem Cluster beenden
Microsoft.SQLServer.2012.ReportingServices.StopClusteredService (Task)
SQL Reporting Services-Dienst auf dem Cluster beenden.
Beachten Sie, dass Clustering von keiner Edition von SQL Express unterstützt wird.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SQLServer.2012.ReportingServices.StopClusteredService" Target="SQL2012Core!Microsoft.SQLServer.2012.ReportingServices" Accessibility="Internal" Enabled="true" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<ApplicationName>%windir%\system32\cluster.exe</ApplicationName>
<WorkingDirectory>%windir%\system32</WorkingDirectory>
<CommandLine>/cluster:$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$ resource "$Target/Property[Type="SQL!Microsoft.SQLServer.ReportingServices"]/ServiceClusterName$" /offline</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>