ReportingService2005.InheritParentSecurity 方法

Deletes the policies associated with an item. As a result, the item inherits the policies from its parent.

命名空间:  ReportService2005
程序集:  ReportService2005(在 ReportService2005.dll 中)

语法

声明
Public Sub InheritParentSecurity ( _
    Item As String _
)
用法
Dim instance As ReportingService2005 
Dim Item As String

instance.InheritParentSecurity(Item)
public void InheritParentSecurity(
    string Item
)
public:
void InheritParentSecurity(
    String^ Item
)
member InheritParentSecurity : 
        Item:string -> unit
public function InheritParentSecurity(
    Item : String
)

参数

注释

The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

Depends on the item type:

When you delete the policies that are associated with an item, the item inherits the policies that are associated with its parent. Policies that are deleted from an item are also deleted from child items that inherit those policies.

Policies cannot be deleted from the root folder in the report server database. Attempts to delete policies associated with the root folder in the report server database result in a SOAP exception with the error code rsCannotDeleteRootPolicy.

请参阅

参考

ReportingService2005 类

ReportService2005 命名空间