Del via


ImportMappingsImportMapRequest Class

Definition

Contains the data that is needed to import the XML representation of a data map and create an import map (data map) based on this data.

public ref class ImportMappingsImportMapRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class ImportMappingsImportMapRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type ImportMappingsImportMapRequest = class
    inherit OrganizationRequest
Public NotInheritable Class ImportMappingsImportMapRequest
Inherits OrganizationRequest
Inheritance
ImportMappingsImportMapRequest
Attributes

Examples

The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface instance. For the complete sample, see the link later in this topic.

Remarks

For the Web API use the ImportMappingsImportMap action.

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance ofImportMappingsImportMapResponse.

Privileges and Access Rights

To perform this action, the caller must have privileges on the ImportMap entity. For a complete list of required privileges, see ImportMappingsImportMap message privileges.

Notes for Callers

The XML data describing the data map must be well-formed and valid.

Constructors

ImportMappingsImportMapRequest()

Initializes a new instance of the ImportMappingsImportMapRequest class.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
MappingsXml

Gets or sets an XML representation of the data map. Required.

Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
ReplaceIds

Gets or sets a value that indicates whether to import the entity record IDs contained in the XML representation of the data map. Required.

RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)

Applies to

See also