IImportExtensions2.OverrideConfigurationDataFileLanguage Method (Int32, List<Int32>)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Overrides the currently-selected language for the configuration data file import with the user-specified language.
Namespace: Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase
Assembly: Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase (in Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.dll)
Syntax
int OverrideConfigurationDataFileLanguage(
int selectedLanguage,
List<int> availableLanguages
)
Function OverrideConfigurationDataFileLanguage (
selectedLanguage As Integer,
availableLanguages As List(Of Integer)
) As Integer
Parameters
selectedLanguage
Type: System.Int32Locale ID (LCID) of the language that will be used for import. If you specify 0, the default language file will be used.
availableLanguages
Type: System.Collections.Generic.List<Int32>List of languages that are in the package.
Return Value
Type: System.Int32
Requested LCID of the language to be used for configuration data file import. If the return value is 0, the default language file will be used. If the requested LCID is not found, a warning will be logged and the default language file will be used.
See Also
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