CrmServiceClient.SubmitImportRequest Method (CrmServiceClient.ImportRequest, DateTime)

 

Applies To: Dynamics CRM 2015

Starts an Import request for CRM.

Supports a single file per Import request.

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public Guid SubmitImportRequest(
    CrmServiceClient.ImportRequest importRequest,
    DateTime delayUntil
)
public:
Guid SubmitImportRequest(
    CrmServiceClient::ImportRequest^ importRequest,
    DateTime delayUntil
)
member SubmitImportRequest : 
        importRequest:CrmServiceClient.ImportRequest *
        delayUntil:DateTime -> Guid
Public Function SubmitImportRequest (
    importRequest As CrmServiceClient.ImportRequest,
    delayUntil As Date
) As Guid

Parameters

  • delayUntil
    Type: System.DateTime

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

Return Value

Type: System.Guid

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

See Also

CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright