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 標頭 | (在) BatchHeaderValue (出局) ServerInfoHeaderValue |
| 必要權限 | UpdateModelItemAuthorizationPolicies |
從項目中刪除的政策,也會從繼承該政策的子項目中被刪除。
需要一個 ModelItemID 數值。 政策無法從模型根刪除。 嘗試刪除與模型根相關聯的政策會導致帶有錯誤代碼 rsCannotDeleteRootPolicy的 SOAP 例外。