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

Definición

Establece las propiedades de parámetro 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

Dirección URL completa del elemento, incluidos el nombre de archivo y la extensión, en modo de SharePoint.

Parameters
ItemParameter[]

Matriz de objetos ItemParameter que contiene una lista de propiedades de parámetros para el informe.

Atributos

Comentarios

En la siguiente tabla se muestra la información de encabezado y de permisos de esta operación.

Uso de encabezados SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Permisos necesarios en modo nativo UpdateParameters
Permisos necesarios en modo de SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

Se pueden establecer tres propiedades en ItemParameter mediante Prompt, PromptUsery DefaultValues.

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

Se aplica a