ImportExtension.OverrideSolutionImportDecision Method

Definition

Called by the Solution Import subsystem after a decision is made by the import system.

public:
 virtual Microsoft::Xrm::Tooling::PackageDeployment::CrmPackageExtentionBase::UserRequestedImportAction OverrideSolutionImportDecision(System::String ^ solutionUniqueName, Version ^ organizationVersion, Version ^ packageSolutionVersion, Version ^ inboundSolutionVersion, Version ^ deployedSolutionVersion, Microsoft::Xrm::Tooling::PackageDeployment::CrmPackageExtentionBase::ImportAction systemSelectedImportAction);
public virtual Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.UserRequestedImportAction OverrideSolutionImportDecision (string solutionUniqueName, Version organizationVersion, Version packageSolutionVersion, Version inboundSolutionVersion, Version deployedSolutionVersion, Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.ImportAction systemSelectedImportAction);
abstract member OverrideSolutionImportDecision : string * Version * Version * Version * Version * Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.ImportAction -> Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.UserRequestedImportAction
override this.OverrideSolutionImportDecision : string * Version * Version * Version * Version * Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.ImportAction -> Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.UserRequestedImportAction
Public Overridable Function OverrideSolutionImportDecision (solutionUniqueName As String, organizationVersion As Version, packageSolutionVersion As Version, inboundSolutionVersion As Version, deployedSolutionVersion As Version, systemSelectedImportAction As ImportAction) As UserRequestedImportAction

Parameters

solutionUniqueName
String

Unique name of the solution

organizationVersion
Version

Version of the organization that is being targeted

packageSolutionVersion
Version

Solution package version, indicates the minimum version of CRM that this package is available for

inboundSolutionVersion
Version

Version of the solution that has been requested for import

deployedSolutionVersion
Version

Version of the solution ( if present ) found on the server

systemSelectedImportAction
ImportAction

Action decided by the package deployment system

Returns

Package developer override decision or default

Implements

Applies to