Detener el servicio Agente SQL
Microsoft.SQLServer.2008.StopSQLAgentFromJob (Task)
Detenga el servicio Agente SQL.
Tenga en cuenta que el servicio de Windows del Agente SQL Server no se admite en ninguna edición de SQL Server Express.
Element properties: Member Modules:
Source Code: <Task ID="Microsoft.SQLServer.2008.StopSQLAgentFromJob" Target="SQL2008Core!Microsoft.SQLServer.2008.AgentJob" Accessibility="Internal" Enabled="true" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>net stop $Target/Host/Property[Type="SQL!Microsoft.SQLServer.Agent"]/ServiceName$</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>