DataMap Class | MSBuild Extension Pack Help 4.0.12.0 |
Valid TaskActions are:
Import (Required: OrganizationUrl, Name, FilePath Optional: Overwrite, ConnectionTimeout)
Delete (Required: OrganizationUrl, Name)
Inheritance Hierarchy
MSBuild.ExtensionPackBaseTask
MSBuild.ExtensionPack.CrmDataMap
Namespace: MSBuild.ExtensionPack.Crm
Assembly: MSBuild.ExtensionPack.Crm (in MSBuild.ExtensionPack.Crm.dll) Version: 4.0.0.0
The DataMap type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataMap |
Properties
Name | Description | |
---|---|---|
ConnectionTimeout |
Gets or sets the timeout in minutes for connecting to Crm Service. Default is 3 minutes.
| |
FilePath |
Sets the Data Map import file path.
| |
Name |
Sets the Name of the Data Map.
| |
OrganizationUrl |
Sets the Url of the Organization, whose setting needs to be changed.
| |
Overwrite |
Sets whether to overwrite existing Data Map. Default is true
|
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"> <!-- Import a Data Map --> <MSBuild.ExtensionPack.Crm.DataMap TaskAction="Import" OrganizationUrl="http://crm/organization1" Name="organization1" FilePath="DataImportFile.xml" /> </Target> <Target Name="Delete"> <!-- Delete a Data Map --> <MSBuild.ExtensionPack.Crm.DataMap TaskAction="Delete" OrganizationUrl="http://crm/organization1" Name="organization1" /> </Target> </Project>
See Also