ReportingService2005.InheritModelItemParentSecurity(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除与模型层次结构中的项相关联的策略并导致模型项从其父项继承策略。
public:
void InheritModelItemParentSecurity(System::String ^ Model, System::String ^ ModelItemID);
public void InheritModelItemParentSecurity (string Model, string ModelItemID);
member this.InheritModelItemParentSecurity : string * string -> unit
Public Sub InheritModelItemParentSecurity (Model As String, ModelItemID As String)
参数
- Model
- String
命名空间中的模型的完整名称。
- ModelItemID
- String
模型中项的 ID。
注解
下表显示了有关此操作的标头和权限信息。
SOAP 标头 | (In) BatchHeaderValue (Out) ServerInfoHeaderValue |
所需的权限 | UpdateModelItemAuthorizationPolicies |
从项中删除的策略也会从继承这些策略的子项中删除。
值 ModelItemID
是必需的。 无法从模型根中删除策略。 尝试删除与模型根关联的策略会导致 SOAP 异常,错误代码 rsCannotDeleteRootPolicy
为 。