Lenguaje

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

Definición

Establece propiedades de parámetros para un elemento especificado.

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())

Parámetros

ItemPath
String

La URL totalmente cualificada del elemento incluyendo el nombre del archivo y, en modo SharePoint, la extensión.

Parameters
ItemParameter[]

Un array de ItemParameter objetos que contiene una lista de las propiedades de los parámetros del informe.

Atributos

Comentarios

La siguiente tabla muestra la información sobre cabeceras y permisos sobre esta operación.

Uso de la cabecera SOAP (En) TrustedUserHeaderValue

(Fuera) ServerInfoHeaderValue
Permisos requeridos en modo nativo UpdateParameters
Permisos requeridos en el modo SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

Tres propiedades en ItemParameter pueden establecerse usando Prompt, PromptUser, y DefaultValues.

Los parámetros especificados para el SetItemParameters método deben definirse en la definición original del ítem.

Se aplica a