--- myst: substitutions: ico_method: |- ```{image} /img/code_reference/net_library/method.ico :width: 15px ``` ico_prop: |- ```{image} /img/code_reference/net_library/prop.ico :width: 15px ``` --- # ExportSettings Class Provides settings for the creation of typical Vault settings that will be created in the package. **Namespace:** bcpDevKit.Entities\ **Assembly:** bcpDevKit.dll ## Syntax ```csharp public class ExportSettings ``` ## Properties | Type | Name | Description | |--------------------------------------------|----------------------------|-------------------------------------------------------------------------------------------| | {{ico_prop}} bool | CategoryDefinitionsExport | Gets or sets whether category definitions will be exported or not. | | {{ico_prop}} bool | PropertyDefinitionsExport | Gets or sets whether property definitions will be exported or not. | | {{ico_prop}} bool | LifecycleDefinitionsExport | Gets or sets whether lifecycle definitions and states will be exported or not. | | {{ico_prop}} bool | RevisionDefinitionsExport | Gets or sets whether revision definitions and revision sequences will be exported or not. | | {{ico_prop}} bool | UsersExport | Gets or sets whether users will be exported or not. | | {{ico_prop}} bool | GroupsExport | Gets or sets whether groups will be exported or not. | | {{ico_prop}} bool | RolesExport | Gets or sets whether roles will be exported or not. | | {{ico_prop}} [BcpVersion] | PackageVersion | Gets the vault version for which the BCP package is created. | [BcpVersion]: /code_reference/net_library/bcpversion ## Methods | Type | Name | Description | |---------------------|------------------------------|---------------------------------------------------------| | {{ico_method}} void | DisableConfigurationExport() | Disables the export for all the configuration entities. | ## Remarks By default, all the configuration entities will be exported to the vault package.\ In many situations the targeting Vault is already configured correctly, therefore the export of the different configuration entities can be disabled by setting the intended property to *false*. If you set e.g. the *CreateUser* of a file to „Hans Peter“, the API will create automatically the User definition in the vault package, and the user will be later imported into Vault.\ To disable this behaviour, set the property 'UsersExport' to *false*. ## Examples **Disable the export of all configuration entities** ```csharp bcpService.Settings.DisableConfigurationExport(); ```