Valid TaskActions are:

CheckExists (Required: HostName Optional: MachineName, DatabaseServer, Database Output: Exists)

Create (Required: HostName, WindowsGroup Optional: MachineName, DatabaseServer, Database, HostType, Use32BitHostOnly, Trusted, Tracking, Default, AdditionalHostSettings)

Delete (Required: HostName Optional: MachineName, DatabaseServer, Database)

Update (Required: HostName, WindowsGroup Optional: MachineName, Database, DatabaseServer, HostType, Use32BitHostOnly, Trusted, Tracking, Default, AdditionalHostSettings)

Remote Execution Support: Yes

Namespace: MSBuild.ExtensionPack.BizTalk
Assembly: MSBuild.ExtensionPack.BizTalk (in MSBuild.ExtensionPack.BizTalk.dll) Version: 3.5.0.0

Examples

Xml Copy imageCopy
 <Project ToolsVersion="3.5" DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <TPath>$(MSBuildProjectDirectory)\..\MSBuild.ExtensionPack.tasks</TPath>
    <TPath Condition="Exists('$(MSBuildProjectDirectory)\..\..\Common\MSBuild.ExtensionPack.tasks')">$(MSBuildProjectDirectory)\..\..\Common\MSBuild.ExtensionPack.tasks</TPath>
  </PropertyGroup>
  <Import Project="$(TPath)"/>
    <Target Name="Default">
        <!-- Create a Host -->
        <MSBuild.ExtensionPack.BizTalk.BizTalkHost TaskAction="Create" HostName="MSBEPTESTHOST" Tracking="true" WindowsGroup="$(ComputerName)\BizTalk Application Users" HostType="InProcess" Use32BitHostOnly="false"/>
        <!-- Update a Host -->
        <MSBuild.ExtensionPack.BizTalk.BizTalkHost TaskAction="Update" HostName="MSBEPTESTHOST" Tracking="false" WindowsGroup="$(ComputerName)\BizTalk Application Users" HostType="InProcess" Use32BitHostOnly="false" AdditionalHostSettings="MessageDeliverySampleSpaceSize=123;ProcessMemoryThreshold=31"/>
        <!-- Delete a Host -->
        <MSBuild.ExtensionPack.BizTalk.BizTalkHost TaskAction="Delete" HostName="MSBEPTESTHOST"/>   
    </Target>
</Project>

Inheritance Hierarchy

System..::..Object
  Microsoft.Build.Utilities..::..Task
    MSBuild.ExtensionPack..::..BaseTask
      MSBuild.ExtensionPack.BizTalk..::..BizTalkHost

See Also