ReportingService2010.InheritModelItemParentSecurity Yöntemi
Modeli hiyerarşisinde öğe ile ilişkili ilkelerini siler ve ilkeleri kendi ana öğeden devral öğe neden olur.
Ad Alanı: ReportService2010
Derleme: ReportService2010 (ReportService2010 içinde.dll)
Sözdizimi
'Bildirim
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/InheritModelItemParentSecurity", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Sub InheritModelItemParentSecurity ( _
Model As String, _
ModelItemID As String _
)
'Kullanım
Dim instance As ReportingService2010
Dim Model As String
Dim ModelItemID As String
instance.InheritModelItemParentSecurity(Model, _
ModelItemID)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/InheritModelItemParentSecurity", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public void InheritModelItemParentSecurity(
string Model,
string ModelItemID
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/InheritModelItemParentSecurity", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
public:
void InheritModelItemParentSecurity(
String^ Model,
String^ ModelItemID
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/InheritModelItemParentSecurity", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
member InheritModelItemParentSecurity :
Model:string *
ModelItemID:string -> unit
public function InheritModelItemParentSecurity(
Model : String,
ModelItemID : String
)
Parametreler
- Model
Tür: System.String
Dosya adı ve .smdl dosya adı uzantısını içeren modeli tam url.
- ModelItemID
Tür: System.String
Kimliği öğe modelinde.
Açıklamalar
Aşağıdaki tablo üstbilgi ve izinler bu işlemi gösterir.
soap üstbilgisi kullanımı |
(Giden)ServerInfoHeaderValue |
Yerel mod gerekli izinleri |
|
SharePoint modu gerekli izinleri |
ManagePermissions() |
öğe Silinmiş ilkeleri bu ilkelere devralan alt maddeleri de silinir.
A ModelItemID değeri gereklidir.Modeli kök dizinindeki ilkeleri silinemez.Modeli kök ile ilişkili ilkelerini silmeye soap özel durum hata kodu ile neden rsCannotDeleteRootPolicy.