ExportMappingsImportMapRequest ExportMappingsImportMapRequest ExportMappingsImportMapRequest ExportMappingsImportMapRequest Class

Definition

Contains the data that is needed to export a data map as an XML formatted data.

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

Examples


 // Retrieve the value for validation
var exportRequest = new ExportMappingsImportMapRequest
{
    ImportMapId = _newImportMapId.Value,
    ExportIds = true,
};
     var exportResponse = (ExportMappingsImportMapResponse)svc.Execute(exportRequest);
         var mappingXml = exportResponse.MappingsXml;
     Console.WriteLine(String.Concat("\nValidating mapping xml for : ", 
    _newImportMapId.Value, ",\nMappingsXml:\n", mappingXml));

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. For the complete sample, see the link later in this topic.

DataImport#ExportMappingsImportMap DataImportVB#ExportMappingsImportMap

Remarks

Message Availability

For this message to work, the caller must be connected to the server.

Usage

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

Privileges and Access Rights

To perform this action, the caller must have privileges on the ImportMap entity and the access rights on the record specified in the ImportMapId property. For a complete list of required privileges, see ExportMappingsImportMap message privileges.

Constructors

ExportMappingsImportMapRequest() ExportMappingsImportMapRequest() ExportMappingsImportMapRequest() ExportMappingsImportMapRequest()

Initializes a new instance of the ExportMappingsImportMapRequest class.

Properties

ExportIds ExportIds ExportIds ExportIds

Gets or sets a value that indicates whether to export the entity record IDs contained in the data map. Required.

ExtensionData ExtensionData ExtensionData ExtensionData

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

(Inherited from OrganizationRequest)
ImportMapId ImportMapId ImportMapId ImportMapId

Gets or sets the ID of the import map (data map) to export. Required.

Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

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

(Inherited from OrganizationRequest)
RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

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

(Inherited from OrganizationRequest)

Applies to

See also