CrmServiceClient.SubmitImportRequest Method (CrmServiceClient.ImportRequest, DateTime)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
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 Function SubmitImportRequest (
importRequest As CrmServiceClient.ImportRequest,
delayUntil As Date
) As Guid
Parameters
delayUntil
Type: System.DateTimeDelays the import jobs till specified time - Use DateTime.MinValue to Run immediately
importRequest
Type: Microsoft.Xrm.Tooling.Connector.CrmServiceClient.ImportRequestImport Data Request
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
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright