要支持多组配置元素,请将 label 属性添加到 XML 配置中的元素。
注: 如果将
label 属性添加到一个配置元素,则必须对所有配置元素执行此操作。不能混合使用带标签的元素和不带标签的元素。
<config> <profileArchivePath label="APAC"> \\fs-21\DemUsers$\[UserFolder]\Archives </profileArchivePath> <profileArchiveBackupPath label="APAC"> \\fs-21\DemUsers$\[UserFolder]\Backups </profileArchiveBackupPath> <logFilePath label="APAC"> \\fs-21\DemUsers$\[UserFolder]\Logs\FlexEngine.log </logFilePath> <profileArchivePath label="EMEA"> \\fs-03\DemUsers$\[UserFolder]\Archives </profileArchivePath> <profileArchiveBackupPath label="EMEA"> \\fs-03\DemUsers$\[UserFolder]\Backups </profileArchiveBackupPath> <logFilePath label="EMEA"> \\fs-03\DemUsers$\[UserFolder]\Logs\FlexEngine.log </logFilePath> </config>