DeploymentExtensions.SubmitImportRequest Method

Definition

Starts an Import request for CDS.

Supports a single file per Import request.

public static Guid SubmitImportRequest (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, Microsoft.PowerPlatform.Dataverse.Client.Extensions.DeploymentExtensions.ImportRequest importRequest, DateTime delayUntil);
static member SubmitImportRequest : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * Microsoft.PowerPlatform.Dataverse.Client.Extensions.DeploymentExtensions.ImportRequest * DateTime -> Guid
<Extension()>
Public Function SubmitImportRequest (serviceClient As ServiceClient, importRequest As DeploymentExtensions.ImportRequest, delayUntil As DateTime) As Guid

Parameters

serviceClient
ServiceClient

ServiceClient

importRequest
DeploymentExtensions.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