Parameters

ItemPathOrSiteURL

Type: System.StringThe 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 of the current user at the given server or site is returned.

In native mode, if ItemPathOrSiteURL is a folder, this method returns all subscriptions owned by the user for reports under that path to which user has the following permissions: ReadAnySubscription OR ((ReadSubscription AND the user is the subscription owner and the subscription is a timed subscription). If ItemPathOrSiteURL is a report, then this method returns all subscriptions owned by the user that satisfy the same set of permissions requirements for that report.

In SharePoint integrated mode, if ItemPathOrSiteURL is a site or a folder, this method returns all subscriptions owned by the user for reports under that path to which user has the following permissions: ManageAlerts OR (CreateAlerts AND the user is the subscription owner and the subscription is a timed subscription). If ItemPathOrSiteURL is a report, then this method returns all subscriptions owned by the user that satisfy the same set of permissions requirements for that report.

If no subscriptions are found for the given site, an empty Subscription array is returned.