Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8580775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:53:56+00:00 2026-06-11T20:53:56+00:00

Using SQL Server 2008 R2, .NET 4, and C#, I’m having some trouble finding

  • 0

Using SQL Server 2008 R2, .NET 4, and C#, I’m having some trouble finding out how I can link a report schedule, and report subscriptions.

I can get a list of all the reports, of all the subscriptions, and of all the schedules, that’s fine and working. So I have my data in its rawest form, but when trying to find some way to get a list of all subscriptions that use ScheduleA, for example, I simply cannot find anything.

I’ve searched MSDN, spent the afternoon trawling Google, all to no avail. I’m hoping that it’s not as difficult as it seems, because it really shouldn’t be.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:53:58+00:00Added an answer on June 11, 2026 at 8:53 pm

    Thanks to the person who commented on my original question, that led me to having a method which accepted a schedule ID, and doing the following once I’d got the reports:

    var subscriptions = service.ListSubscriptions(report.Path);
    
    foreach (var subscription in subscriptions)
    {
        ExtensionSettings settings;
        string description, status, eventType, matchData;
        ActiveState state;
        ParameterValue[] parameters;
        string user = service.GetSubscriptionProperties(subscription.SubscriptionID, out settings,
                                                        out description, out state, out status, out eventType,
                                                        out matchData, out parameters);
        if (matchData == scheduleId)
        {
            // Do what I need to do
        }
    }
    

    This ended up giving me the solution I was looking for. Now I’m on to a different problem, unfortunately, but I’ll make a different question for that if I need to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, I'm using SQL Server Express 2008 and .Net 3.5 (c#) I have a
I'm using SQL Server 2008 as my database engine in a VS2010, C# ASP.NET
Using: Microsoft SQL Server 2008 Microsoft Visual Studio 2010 C# .NET 4.0 WinForms Ok
Using SQL, SQL server manager 2008, c-sharp.net 4.0 and ms visual studio professional 2010:
I have an asp.net web application written in C# using a SQL Server 2008
If I am using .Net and SQL Server 2008, what is the best way
I'm developing an ASP.NET app (C#) that connect to SQL Server 2008 using ADO.NET
I'm using C# ASP.NET 4 and SQL Server 2008 R2 I'm getting an object
I am using VSTS 2008 + C# + .Net 3.5 + SQL Server 2008
I am using VSTS 2008 + C# + ADO.Net + SQL Server 2008. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.