ReportingService2010.SetItemParameters Method
SQL Server 2008 R2
Sets parameter properties for a specified item.
Assembly: ReportService2010 (in ReportService2010.dll)
'Declaration <SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemParameters", RequestNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _ ResponseNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _ Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _ <SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _ <SoapHeaderAttribute("TrustedUserHeaderValue")> _ Public Sub SetItemParameters ( _ ItemPath As String, _ Parameters As ItemParameter() _ ) 'Usage Dim instance As ReportingService2010 Dim ItemPath As String Dim Parameters As ItemParameter() instance.SetItemParameters(ItemPath, _ Parameters)
Parameters
- ItemPath
- Type: System.String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
- Parameters
- Type: ReportService2010.ItemParameter()
An array of ItemParameter objects that contains a list of the report parameters properties.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | |
SharePoint Mode Required Permissions | 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.
