Share via


CrmServiceClient.SubmitImportRequest Method

Definition

Starts an Import request for CRM.

Supports a single file per Import request.

public:
 Guid SubmitImportRequest(Microsoft::Xrm::Tooling::Connector::CrmServiceClient::ImportRequest ^ importRequest, DateTime delayUntil);
public Guid SubmitImportRequest (Microsoft.Xrm.Tooling.Connector.CrmServiceClient.ImportRequest importRequest, DateTime delayUntil);
member this.SubmitImportRequest : Microsoft.Xrm.Tooling.Connector.CrmServiceClient.ImportRequest * DateTime -> Guid
Public Function SubmitImportRequest (importRequest As CrmServiceClient.ImportRequest, delayUntil As DateTime) As Guid

Parameters

importRequest
CrmServiceClient.ImportRequest

Import Data Request

delayUntil
DateTime

Delays the import jobs till specified time - Use DateTime.MinValue to Run immediately

Returns

Guid of the Import Request, or Guid.Empty. If Guid.Empty then request failed.

Applies to