共用方式為


IImportExtensions2 Interface

Definition

Extensions to the IImportExtentions Interface to support new features introduced in Package Deployer version 2.1.0.x and forward.

public interface class IImportExtensions2 : Microsoft::Xrm::Tooling::PackageDeployment::CrmPackageExtentionBase::IImportExtensions
public interface IImportExtensions2 : Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.IImportExtensions
type IImportExtensions2 = interface
    interface IImportExtensions
Public Interface IImportExtensions2
Implements IImportExtensions
Derived
Implements

Properties

CrmSvc

Pointer to the CRM service connection.

(Inherited from IImportExtensions)
DataImportBypass

Allows data import process to be skipped if true, the process is skipped, if false, it is not. Default is false. for this to function, it needs to be set in or before the PreImport function call

GetExtraProgramLaunchLinkText

Returns the launch link text shown on the last page of the package deployer.

(Inherited from IImportExtensions)
GetImportLongName

Returns the long name of the import.

(Inherited from IImportExtensions)
GetImportPackageDescription

Retuns the description of the import package.

(Inherited from IImportExtensions)
GetImportPackageFolderName

Returns the folder name where the import package lives.

(Inherited from IImportExtensions)
OverrideDataImportSafetyChecks

Allows a package developer to skip data validation on Complex data imports The net effect is that import is much faster at the cost of the potential data collisions

RootControlDispatcher

Parent dispatcher for displaying UI elements.

(Inherited from IImportExtensions)
RuntimeSettings

Settings that will be passed to package.

Methods

GetImportName(Boolean)

Gets the import name.

(Inherited from IImportExtensions)
InitializeExtension()

Initialize extension functionality.

(Inherited from IImportExtensions)
OverrideConfigurationDataFileLanguage(Int32, List<Int32>)

Allows the currently selected language for data import to be overridden by a user selection. if the LCID is not found, the developer selection is ignored and the default language import is used.

PerApplicationRecordImport(ApplicationRecord)

Called for each application that is about to be imported.

(Inherited from IImportExtensions)
PostImport()

Called as part of the post Import process.

(Inherited from IImportExtensions)
PreImport()

Called during the preImport Process.

(Inherited from IImportExtensions)
PreSolutionImport(String, Boolean, Boolean, Boolean, Boolean)

Raised before the named solution is imported to allow for any configuration settings to be made to the import process

PreSolutionImport(String, Boolean, Boolean)
Obsolete.

Raised before the named solution is imported to allow for any configuration settings to be made to the import process

RunSolutionUpgradeMigrationStep(String, String, String, Guid, Guid)

Is called during a solution upgrade when both solutions, old and Holding, are present in the system.

(Inherited from IImportExtensions)

Events

AddNewProgressItem

Describes an event for new progress item.

(Inherited from IImportExtensions)
UpdateProgressItem

Describes an event for update progress item.

(Inherited from IImportExtensions)

Applies to