CrmServiceClient.ImportSolutionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Import a solution using the asynchronous service.
public Guid ImportSolutionAsync (Guid StageSolutionUploadId, 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.ImportSolutionAsync : Guid * Guid * bool * bool * bool * bool * bool * System.Collections.Generic.Dictionary<string, obj> -> Guid
Public Function ImportSolutionAsync (StageSolutionUploadId As Guid, 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
- StageSolutionUploadId
- Guid
Unique identifier of an uploaded and staged solution.
- importId
- Guid
Unique identifier of the import job that will be created to perform the import. 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 upon solution import.
- overwriteUnManagedCustomizations
- Boolean
Indicates whether any unmanaged customizations that have been applied over existing managed solution components should be overwritten.
- skipDependancyOnProductUpdateCheckOnInstall
- Boolean
Indicates whether enforcement of dependencies related to product updates should be skipped.
- importAsHoldingSolution
- Boolean
Import solution as holding solution staged for upgrade.
- isInternalUpgrade
- Boolean
For internal use.
- extraParameters
- Dictionary<String,Object>
Extra parameters to pass.
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.