ReportingService2010.SetItemParameters(String, ItemParameter[]) ReportingService2010.SetItemParameters(String, ItemParameter[]) ReportingService2010.SetItemParameters(String, ItemParameter[]) Method

Definition

Sets parameter properties for a specified item.

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);
Public Sub SetItemParameters (ItemPath As String, Parameters As ItemParameter())
Parameters
ItemPath
String String String

The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

Parameters
ItemParameter[]

An array of ItemParameter objects that contains a list of the report parameters properties.

Remarks

The table below shows header and permissions information on this operation.

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions UpdateParameters
SharePoint Mode Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

Three properties in ItemParameter can be set by using Prompt, PromptUser, and DefaultValues.

The parameters specified for the SetItemParameters method must be defined in the original item definition.

Applies to