ReportingService2005.InheritModelItemParentSecurity Method
SQL Server 2005
Deletes the policies associated with a model item and causes the model item to inherit the policies from its parent.
Namespace: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
Assembly: ReportService2005 (in reportingservice2005.dll)
Assembly: ReportService2005 (in reportingservice2005.dll)
[SoapHeaderAttribute("BatchHeaderValue")] [SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out)] [SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/InheritModelItemParentSecurity", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public void InheritModelItemParentSecurity ( string Model, string ModelItemID )
/** @attribute SoapHeaderAttribute("BatchHeaderValue") */
/** @attribute SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out) */
/** @attribute SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/InheritModelItemParentSecurity", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped) */
public void InheritModelItemParentSecurity (
String Model,
String ModelItemID
)
SoapHeaderAttribute("BatchHeaderValue") SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out) SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/InheritModelItemParentSecurity", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped) public function InheritModelItemParentSecurity ( Model : String, ModelItemID : String )
Parameters
- Model
Full name of the model in the namespace.
- ModelItemID
The ID of a model item in the model.
Policies that are deleted from an item are also deleted from child items that inherit those policies.
A ModelItemID value is required. Policies cannot be deleted from the model root. Attempting to delete policies that are associated with the model root results in a SOAP exception with the error code rsCannotDeleteRootPolicy.
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.