我想部署我的多维数据集项目,而不替换数据库中Roles的现有成员。我正在使用带有数据工具扩展的Visual Studio 2019
我已经尝试过按照MS教程(https://docs.microsoft.com/en-us/analysis-services/multidimensional-models/deployment-script-files-partition-and-role-deployment-options)来更改solutionName / projetctname / bin / projetctname.deplymentoptions,但不能正常工作
文件如下:
<DeploymentOptions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
<TransactionalDeployment>false</TransactionalDeployment>
<PartitionDeployment>DeployPartitions</PartitionDeployment>
<RoleDeployment>DeployRolesRetainMembers</RoleDeployment>.......
但是它仍然会替换数据库中所有现有的用户
我希望仅更新新角色,而不更改现有角色的成员