ReportingService2005.SetModelItemPolicies Yöntemi
Modeli hiyerarşisi içinde bir öğe güvenlik ilkelerini ayarlar.
Ad Alanı: ReportService2005
Derleme: ReportService2005 (ReportService2005 içinde.dll)
Sözdizimi
'Bildirim
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelItemPolicies", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("BatchHeaderValue")> _
Public Sub SetModelItemPolicies ( _
Model As String, _
ModelItemID As String, _
Policies As Policy() _
)
'Kullanım
Dim instance As ReportingService2005
Dim Model As String
Dim ModelItemID As String
Dim Policies As Policy()
instance.SetModelItemPolicies(Model, _
ModelItemID, Policies)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelItemPolicies", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("BatchHeaderValue")]
public void SetModelItemPolicies(
string Model,
string ModelItemID,
Policy[] Policies
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelItemPolicies", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"BatchHeaderValue")]
public:
void SetModelItemPolicies(
String^ Model,
String^ ModelItemID,
array<Policy^>^ Policies
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelItemPolicies", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("BatchHeaderValue")>]
member SetModelItemPolicies :
Model:string *
ModelItemID:string *
Policies:Policy[] -> unit
public function SetModelItemPolicies(
Model : String,
ModelItemID : String,
Policies : Policy[]
)
Parametreler
- Model
Tür: System.String
Modelinin tam adı.
- ModelItemID
Tür: System.String
Model olduğu için öğe Kimliğini küme izinleri.
- Policies
Tür: array<ReportService2005.Policy[]
Bir dizi İlke nesneler.
Açıklamalar
Aşağıdaki tablo üstbilgi ve izinler bu işlemi gösterir.
soap üstbilgileri |
(De)BatchHeaderValue (Giden)ServerInfoHeaderValue |
Gerekli izinler |
Zaman SetModelItemPolicies olduğu denilen, modeli öğe ilkeleri listesini belirtilen yöntem çağrısı. listesi ile değiştirilir
Yoksa en az bir modele atanan ilke öğe, SetModelItemPolicies hata verir rsModelRootPolicyRequired.
Kapsanan nesneleri için sağlanan yeni ilkelerini yaymak.
Modeli öğe ilkeleri çağrısından önce üst nesneden devralınır, SetModelItemPolicies, kalıtım, başarılı tamamlanmasından kopuk SetModelItemPolicies.