Iniciar el servicio Agente SQL desde el motor de base datos
Microsoft.SQLServer.2012.StartSQLAgentFromDBEngineInstance (Task)
Inicie el servicio Agente SQL desde el motor de base datos.
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.2012.StartSQLAgentFromDBEngineInstance" Target="SQL2012Core!Microsoft.SQLServer.2012.DBEngine" Accessibility="Internal" Enabled="true" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>net start $Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/AgentName$</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>