BizTalkHost Class | MSBuild Extension Pack Help 4.0.12.0 |
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
Inheritance Hierarchy
MSBuild.ExtensionPackBaseTask
MSBuild.ExtensionPack.BizTalkBizTalkHost
Namespace: MSBuild.ExtensionPack.BizTalk
Assembly: MSBuild.ExtensionPack.BizTalk (in MSBuild.ExtensionPack.BizTalk.dll) Version: 4.0.0.0
The BizTalkHost type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BizTalkHost |
Properties
Name | Description | |
---|---|---|
AdditionalHostSettings |
An optional semi-colon delimited list of name value pairs to set additional Host settings, e.g. MessagePublishSampleSpaceSize=1;MessagePublishOverdriveFactor=100. For available settings, see: http://msdn.microsoft.com/en-us/library/aa560307(BTS.10).aspx
| |
Database |
Sets the Management Database to connect to. Default is BizTalkMgmtDb
| |
DatabaseServer |
Sets the DatabaseServer to connect to. Default is MachineName
| |
Default |
Sets the host as Default. Default is false.
| |
Exists |
Gets whether the Host exists
| |
HostName |
Sets the Host Name. The following characters are not permitted: `~!@#$%^&*()+=[]{}|\/;:\""'<>,.?-<space>
| |
HostType |
Sets the Host Type. Supports: InProcess, Isolated. Default is InProcess.
| |
Tracking |
Sets the host as Tracking. Default is false.
| |
Trusted |
Sets the host as Trusted. Default is false.
| |
Use32BitHostOnly |
Sets the Host to 32BitOnly. Default is false.
| |
WindowsGroup |
Set the windows group. This may be in the form domain\group
|
Examples
<Project ToolsVersion="4.0" 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>
See Also