ReportingService2010::ListSubscriptions Method
SQL Server 2008 R2
Retrieves a list of subscriptions that have been created for a given item. This method applies to the Report item type.
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListSubscriptions", 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"TrustedUserHeaderValue")] [SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)] public: array<Subscription^>^ ListSubscriptions( String^ ItemPathOrSiteURL )
Parameters
- ItemPathOrSiteURL
- Type: System::String
The fully qualified URL of the site or item including the file name and, in SharePoint mode, the extension.
If a report server URL or SharePoint site URL is specified, all subscriptions at the given server or site is returned.
Return Value
Type: array<ReportService2010::Subscription>An array of Subscription objects that contain the subscriptions created for a given site or item.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | (ReadSubscription on the report AND the user is the subscription owner) OR ReadAnySubscription |
SharePoint Mode Required Permissions | ManageAlerts() OR (CreateAlerts() on the report AND the user is the subscription owner and the subscription is a timed subscription). |
