Udostępnij za pośrednictwem


IImportExtensions2 Interface

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains methods and properties for defining how packages are deployed; inherits from IImportExtensions interface.

Namespace:   Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase
Assembly:  Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase (in Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.dll)

Syntax

public interface IImportExtensions2 : IImportExtensions
Public Interface IImportExtensions2
    Inherits IImportExtensions

Properties

Name Description
System_CAPS_pubproperty CrmSvc

Pointer to the CRM service connection.(Inherited from IImportExtensions.)

System_CAPS_pubproperty DataImportBypass

Gets or sets whether CRM Package Deployer will skip all data import operations such as importing CRM sample data, flat file data, and data exported from the Configuration Migration tool.

System_CAPS_pubproperty GetExtraProgramLaunchLinkText

Returns the launch link text shown on the last page of the package deployer.(Inherited from IImportExtensions.)

System_CAPS_pubproperty GetImportLongName

Returns the long name of the import.(Inherited from IImportExtensions.)

System_CAPS_pubproperty GetImportPackageDescription

Retuns the description of the import package.(Inherited from IImportExtensions.)

System_CAPS_pubproperty GetImportPackageFolderName

Returns the folder name where the import package lives.(Inherited from IImportExtensions.)

System_CAPS_pubproperty OverrideDataImportSafetyChecks

Gets or sets whether CRM Package Deployer will bypass some of its safety checks, which helps in improving the solution import performance.

System_CAPS_pubproperty RootControlDispatcher

Parent dispatcher for displaying UI elements.(Inherited from IImportExtensions.)

System_CAPS_pubproperty RuntimeSettings

Gets or sets the runtime parameter settings (key and value) for a package.

Methods

Name Description
System_CAPS_pubmethod GetImportName(Boolean)

Gets the import name.(Inherited from IImportExtensions.)

System_CAPS_pubmethod InitializeExtension()

Initialize extension functionality.(Inherited from IImportExtensions.)

System_CAPS_pubmethod OverrideConfigurationDataFileLanguage(Int32, List<Int32>)

Overrides the currently-selected language for the configuration data file import with the user-specified language.

System_CAPS_pubmethod PerApplicationRecordImport(ApplicationRecord)

Called for each application that is about to be imported.(Inherited from IImportExtensions.)

System_CAPS_pubmethod PostImport()

Called as part of the post Import process.(Inherited from IImportExtensions.)

System_CAPS_pubmethod PreImport()

Called during the preImport Process.(Inherited from IImportExtensions.)

System_CAPS_pubmethod PreSolutionImport(String, Boolean, Boolean, Boolean, Boolean)

System_CAPS_pubmethod PreSolutionImport(String, Boolean, Boolean)

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

System_CAPS_pubmethod 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

Name Description
System_CAPS_pubevent AddNewProgressItem

Describes an event for new progress item.(Inherited from IImportExtensions.)

System_CAPS_pubevent UpdateProgressItem

Describes an event for update progress item.(Inherited from IImportExtensions.)

See Also

Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase Namespace
Create packages for the Dynamics 365 Package Deployer

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright