# <btshost>

[This is preliminary documentation and subject to change.]

Allows BizTalk (in-process) host instances to be controlled.

### Parameters

Attribute | Type | Description | Required
--- | --- | --- | ---
action | HostAction | The action that should be performed on the host. | True
host | string | The name of the host on which the perform the action. | True
server | string | The name of the BizTalk server on which to perform the action. If not specified, the action will be performed on all instances. | False
failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False
if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False
unless | bool | Opposite of `if`. If false then the task will be executed; otherwise, skipped. The default is false. | False
verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False

### Examples

- Starts the "BizTalkServerApplication" host instance on server "SV-ARD-EAI".

      <btshost action="Start" host="BizTalkServerApplication" server="SV-ARD-EAI" />

- Stops all "BizTalkServerApplication" host instances.

      <btshost action="Stop" host="BizTalkServerApplication" />

### Requirements

Assembly: NAnt.Contrib.Tasks (0.93.5002.0)