Share via


ReportingService2010.SetSystemPolicies(Policy[]) メソッド

定義

グループおよび関連付けられたロールを定義するシステム ポリシーを設定します。 これはネイティブ モードにのみ適用されます。

public:
 void SetSystemPolicies(cli::array <ReportService2010::Policy ^> ^ Policies);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetSystemPolicies", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public void SetSystemPolicies (ReportService2010.Policy[] Policies);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetSystemPolicies", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.SetSystemPolicies : ReportService2010.Policy[] -> unit
Public Sub SetSystemPolicies (Policies As Policy())

パラメーター

Policies
Policy[]

システムに設定するポリシーの一覧を表す Policy オブジェクトの配列です。

属性

注釈

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダーの使用方法 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
ネイティブ モードで必要なアクセス許可 UpdateSystemSecurityPolicy (システム)
SharePoint モードで必要なアクセス許可 <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

このメソッドは、 OperationNotSupportedSharePointMode SharePont モードで呼び出されると例外をスローします。

適用対象