Langage

ReportingService2010.SetItemParameters(String, ItemParameter[]) Méthode

Définition

Définit les propriétés des paramètres pour un élément spécifié.

public:
 void SetItemParameters(System::String ^ ItemPath, cli::array <ReportService2010::ItemParameter ^> ^ Parameters);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemParameters", 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 SetItemParameters(string ItemPath, ReportService2010.ItemParameter[] Parameters);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemParameters", 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.SetItemParameters : string * ReportService2010.ItemParameter[] -> unit
Public Sub SetItemParameters (ItemPath As String, Parameters As ItemParameter())

Paramètres

ItemPath
String

L’URL entièrement qualifiée de l’élément incluant le nom du fichier et, en mode SharePoint, l’extension.

Parameters
ItemParameter[]

Un tableau d’objets ItemParameter contenant une liste des propriétés des paramètres du rapport.

Attributs

Remarques

Le tableau ci-dessous présente les informations sur l’en-tête et les autorisations concernant cette opération.

Utilisation de l’en-tête SOAP (En) TrustedUserHeaderValue

(Dehors) ServerInfoHeaderValue
Mode natif : autorisations requises UpdateParameters
Permissions requises en mode SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

Trois propriétés dans ItemParameter peuvent être définies en utilisant Prompt, PromptUser, et DefaultValues.

Les paramètres spécifiés pour la SetItemParameters méthode doivent être définis dans la définition originale de l’élément.

S’applique à