Stop BizTalk Application Service

Microsoft.BizTalk.Server.2016.Tasks.StopBizTalkApplicationService (Task)

Stops BizTalk application service

Element properties:

TargetMicrosoft.BizTalk.Server.2016.BizTalkApplicationService
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction System.CommandExecuter Default

Source Code:

<Task ID="Microsoft.BizTalk.Server.2016.Tasks.StopBizTalkApplicationService" Accessibility="Public" Enabled="true" Target="BTSLib!Microsoft.BizTalk.Server.2016.BizTalkApplicationService" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>net stop "Target/Property[Type="BTSLib!Microsoft.BizTalk.Server.2016.BizTalkApplicationService"]/Name$" /y</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>