ReportingService2010::SetItemParameters Method
SQL Server 2008 R2
Sets parameter properties for a specified item.
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemParameters", RequestNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)] [SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)] [SoapHeaderAttribute(L"TrustedUserHeaderValue")] public: void SetItemParameters( String^ ItemPath, array<ItemParameter^>^ 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: array<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.
