Freigeben über


CrmServiceClient.ImportSolutionToCrmAsync Method

Definition

Imports a solution to the CRM Server currently connected using an asynchronous job.

public Guid ImportSolutionToCrmAsync (string solutionPath, out Guid importId, bool activatePlugIns = true, bool overwriteUnManagedCustomizations = false, bool skipDependancyOnProductUpdateCheckOnInstall = false, bool importAsHoldingSolution = false, bool isInternalUpgrade = false, System.Collections.Generic.Dictionary<string,object> extraParameters = default);
member this.ImportSolutionToCrmAsync : string * Guid * bool * bool * bool * bool * bool * System.Collections.Generic.Dictionary<string, obj> -> Guid
Public Function ImportSolutionToCrmAsync (solutionPath As String, ByRef importId As Guid, Optional activatePlugIns As Boolean = true, Optional overwriteUnManagedCustomizations As Boolean = false, Optional skipDependancyOnProductUpdateCheckOnInstall As Boolean = false, Optional importAsHoldingSolution As Boolean = false, Optional isInternalUpgrade As Boolean = false, Optional extraParameters As Dictionary(Of String, Object) = Nothing) As Guid

Parameters

solutionPath
String

Path to the solution File

importId
Guid

This will populate with the import ID even if the request failed. You can use this ID to request status on the import via a request to the ImportJob entity.

activatePlugIns
Boolean

Activate plug-ins and workflows on the solution.

overwriteUnManagedCustomizations
Boolean

Forces an overwrite of unmanaged customizations of the managed solution you are installing. Defaults to false.

skipDependancyOnProductUpdateCheckOnInstall
Boolean

Skips dependency against dependencies flagged as product update. Defaults to false.

importAsHoldingSolution
Boolean

Applies only on CRM organizations version 7.2 or higher. This imports the solution as a holding solution utilizing the “As Holding” capability of ImportSolution

isInternalUpgrade
Boolean

Internal use only.

extraParameters
Dictionary<String,Object>

Extra parameters.

Returns

The job ID of the asynchronous import.

Remarks

To find the status of the import job, query the AsyncOperation entity using GetEntityDataByID and the returned job ID.

Applies to