Jaa


IImportExtensions2.PreSolutionImport Method (String, Boolean, Boolean)

 

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

Note: This API is now obsolete.

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

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

Syntax

[ObsoleteAttribute("This function is no longer called, Please override the PreSolutionImport(string solutionName, bool solutionOverwriteUnmanagedCustomizations, bool solutionPublishWorkflowsAndActivatePlugins, out bool overwriteUnmanagedCustomizations, out bool publishWorkflowsAndActivatePlugins) form instead")]
void PreSolutionImport(
    string solutionName,
    out bool overwriteUnmanagedCustomizations,
    out bool publishWorkflowsAndActivatePlugins
)
<ObsoleteAttribute("This function is no longer called, Please override the PreSolutionImport(string solutionName, bool solutionOverwriteUnmanagedCustomizations, bool solutionPublishWorkflowsAndActivatePlugins, out bool overwriteUnmanagedCustomizations, out bool publishWorkflowsAndActivatePlugins) form instead")>
Sub PreSolutionImport (
    solutionName As String,
    <OutAttribute> ByRef overwriteUnmanagedCustomizations As Boolean,
    <OutAttribute> ByRef publishWorkflowsAndActivatePlugins As Boolean
)

Parameters

  • solutionName
    Type: System.String

    Name of the solution about to be imported.

  • overwriteUnmanagedCustomizations
    Type: System.Boolean

    Indicates whether to overwrite the existing solution in the target CRM instance. Specify true or false.

  • publishWorkflowsAndActivatePlugins
    Type: System.Boolean

    Indicates whether to automatically publish workflows and activate plug-ins as part of the solution deployment. Specify true or false.

See Also

PreSolutionImport Overload
IImportExtensions2 Interface
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